email - Can I safely interpret ISO-8859-1 strings as Win1252 when parsing e-mail? -
I need to support the ISO-8859-1 decoding in my e-mail client. "" Iso-8859-1 in messages? ". The ISO-8859-1 is very similar to Windows 1252. I have a good test code to decode Win1252 already. Can not use and expect any problem?
Yes Windows-1252 codepace ISO-8859 Mail matches the 0x00 to 0x7F and 0xA0 to 0xFF code categories, but not for the range of 0x80 to 0x9F. Since ISO-8859-1 Switch to 0x80 to 0x 9 has no characters defined for the F range, it is not a problem. The ISO -8859-1 It is a subset of Windows -1252.
Comments
Post a Comment