Specifying a character set for importing data to a Unicode AR System server


When importing data to an AR System Unicode server by using XML .ARX or .DEF files, you must specify the character set that the data uses. AR system uses this character set to convert the incoming data from a non-Unicode character set to Unicode.

When you export data, it then includes the correct code for the character set in the output file.

If you do not specify a character set, the AR System server assumes the data is in the same character set the AR System server uses. If the character sets do not match, your data is imported but corrupted.

Important

Note the differences in syntax between the .ARX and .DEF files. Using the wrong syntax can cause unexpected results when you import the data.

To specify a character set in an XML file

Open the XML file and make sure the proper encoding is specified in the following line: <?xml version="1.0" encoding="<encodingName>"?>

For example, to specify traditional Chinese, enter: <?xml version="1.0" encoding="big5"?>

To specify a character set in an .ARX file

Open the .ARX file and enter the following line at the top of the file: CHAR-SET <encodingName>

For example, to specify traditional Chinese: CHAR-SET big5

To specify a character set in a .DEF file

Open the .DEF file and enter the following line at the top of the file: char-set: <encodingName>

For example, to specify traditional Chinese, enter: char-set: big5

The following table contains character set encoding names that you must use when you edit your .ARX or .DEF file.




 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*