How Do I Create or Read a Unicode Text File? (Magic xpa 3.x)
You can write and read Unicode text files as you would any other text file in Magic xpa. You need to do two things:
-
Store the Unicode data in fields with the Unicode attribute (use UnicodeFromANSI() if you need to convert the code from ANSI, or UnicodeToANSI() to convert it into ANSI).
-
Use the Unicode attribute in the I/O Device properties, as shown below.
The Unicode will be formatted automatically.
The Online and Rich Client Samples projects (program UN02 and RUN02)