in reply to UTF-8 to Latin1 - unmatched characters?

ISO Latin-1 does not contain these characters, but ANSI cp1252 does. This is an extension by Microsoft, beware of compatibility problems! Stick to ISO standards like 8859 or Unicode/UTF-8, if you can.

The Encode.pm name is cp1252. The IANA name is windows-1252, this is what you use in the <?xml ...> PI or HTTP Content-Type:...;charset=... header.

  • Comment on Re: UTF-8 to Latin1 - unmatched characters?