Salesforce

How Do I Create or Read a Unicode Text File? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Create or Read a Unicode Text File? (Magic xpa 4.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.

See also

The Online and Rich Client Samples projects (program UN02 and RUN02)

Reference
Attachment 
Attachment