Masternoob
Member
I have a huge problem exporting data.
I use OpenEdge 10.2B07 !!
You can reproduce this issue with following source code:
MESSAGE "~265"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
OUTPUT TO VALUE("C:\Temp\Test.asc").
EXPORT DELIMITER "~265" "string1" "string2".
OUTPUT CLOSE.
MESSAGE "doesn't appear"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
/* doesn't work either */
/*MESSAGE "MESSAGE "µ"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
OUTPUT TO VALUE("C:\Temp\Test.asc").
EXPORT DELIMITER "µ" "string1" "string2".
OUTPUT CLOSE.
MESSAGE "doesn't appear"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
*/
It is very important that you compile this code with uft-8, so you have an utf-8 r-code.
It will work when you compile this source with ISO5559-1 or ISO8859-2.
Than start an ISO8859-1 or ISO8859-2 session an run this r-code.
Nothing is exportet and the program aborts with no error message.
In my situation an other delimiter is not possible, because a third party software needs it.
Also an import of a file with this delimiter does not work either with an utf-8 r-code using IMPORT DELIMITER ... .
Regards
I use OpenEdge 10.2B07 !!
You can reproduce this issue with following source code:
MESSAGE "~265"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
OUTPUT TO VALUE("C:\Temp\Test.asc").
EXPORT DELIMITER "~265" "string1" "string2".
OUTPUT CLOSE.
MESSAGE "doesn't appear"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
/* doesn't work either */
/*MESSAGE "MESSAGE "µ"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
OUTPUT TO VALUE("C:\Temp\Test.asc").
EXPORT DELIMITER "µ" "string1" "string2".
OUTPUT CLOSE.
MESSAGE "doesn't appear"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
*/
It is very important that you compile this code with uft-8, so you have an utf-8 r-code.
It will work when you compile this source with ISO5559-1 or ISO8859-2.
Than start an ISO8859-1 or ISO8859-2 session an run this r-code.
Nothing is exportet and the program aborts with no error message.
In my situation an other delimiter is not possible, because a third party software needs it.
Also an import of a file with this delimiter does not work either with an utf-8 r-code using IMPORT DELIMITER ... .
Regards