robsoncruzjr
New Member
Hi,
I'm trying to generate a simple file (.TXT) with UTF-8 format using the following command but it isn't working!!!
DEFINE STREAM str-out.
OUTPUT STREAM str-out TO VALUE("C:\TMP\CONVERT.TXT") CONVERT TARGET "UTF-8".
PUT STREAM str-out "TEST UTF-8" SKIP.
OUTPUT STREAM str-out CLOSE.
What do I have to do to generate the file correctly?
How can I validate it?
I'm using Progress 9.1E.
Thanks,
Robson Cruz Junior
I'm trying to generate a simple file (.TXT) with UTF-8 format using the following command but it isn't working!!!
DEFINE STREAM str-out.
OUTPUT STREAM str-out TO VALUE("C:\TMP\CONVERT.TXT") CONVERT TARGET "UTF-8".
PUT STREAM str-out "TEST UTF-8" SKIP.
OUTPUT STREAM str-out CLOSE.
What do I have to do to generate the file correctly?
How can I validate it?
I'm using Progress 9.1E.
Thanks,
Robson Cruz Junior