I18n QA Logo
i18nqa.com -> Encoding Debug Table -> iso8859-1-vs-windows-1252

Encoding Problem: ISO-8859-1 vs Windows-1252

Symptom

The following characters fail, while other characters display correctly:

€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ.

The trademark and Euro currency symbol, ellipsis, single and double "smart quotes", en and em dash, and the OE ligature characters are used frequently and are most likely to be reported as a symptom of this problem.

Explanation

The characters in the range 0x80-0x9F (128-159) (note the coloring used here and in the Encoding Debug Table) are in Windows-1252 and not in ISO-8859-1. If you have a problem with characters in that range only, it is because the characters are treated as ISO-8859-1 and not Windows-1252.

Look for references to ISO-8859-1 and replace them with "Windows-1252" (or CP1252, or the correct character encoding name for the library or platform you are using.)

References