Documentation Center

Displaying in XMetaL Author

XMetaL Author displays the data correctly because it detects ISO-8859-1 encoding although the declaration is incorrect in identifying it as UTF-8.

When you save this file, XMetaL Author converts the encoding from ISO-8859-1 to UTF-8 as is specified in the declaration. This results in a UTF-8 encoded file with a correct header because XMetaL Author assumes that you want the file encoded as specified in the declaration and converts it for you. When you save it, XMetaL Author displays a message and asks you to confirm saving it in UTF8.

The data looks the same but the encoding has been changed. Characters in the data that are in the range of A0 to FF are now be encoded as two bytes each.
<?xml version="1.0" encoding="UTF-8" ?>
<DATA>
<character>(30) 0 The number zero</character>
<character>(41) A Capital letter A</character>
<character>(C2 A5) ¥ YEN SIGN</character>
<character>(C2 BF) ¿ INVERTED QUESTION MARK</character>
<character>(C3 9F) ß LATIN SMALL LETTER SHARP S</character>
<character>(C3 A6) æ LATIN SMALL LIGATURE AE</character>
<character>(C3 BF) ÿ LATIN SMALL LETTER Y WITH DIAERESIS</character>
</DATA>