Description |
Recommendations and Tips (Magic xpi 4.5)
-
Do not use binary encoding to store textual content. Use Unicode instead.
-
XML encoding is defined as part of the data in the XML header. If you perform any encoding conversion on XML content, be sure to match the header.
-
An XML without a header is treated by the parsers as UTF-8.
-
When updating Unicode content to ANSI, you will lose any multibyte data that does not match your machine’s non-Unicode encoding.
-
Before performing any textual manipulation on UTF-8 content, convert the content to Unicode using the UTF8toUnicode function. If necessary, the data can be converted back to UTF-8 using the UTF8fromUnicode function.
-
Do not use the system encoding for Data Mapper XML Destinations. Instead, you should select the required encoding. This will ensure that the correct BLOB type is generated.
|
|
---|