Can I safely interpret ISO-8859-1 strings as Win1252 when parsing e-mail?
Posted
by sharptooth
on Stack Overflow
See other posts from Stack Overflow
or by sharptooth
Published on 2010-06-15T11:17:07Z
Indexed on
2010/06/15
11:22 UTC
Read the original article
Hit count: 222
I need to support decoding ISO-8859-1 in my e-mail client. Specifically sometimes messages contain attaches that have filenames starting with "?iso-8859-1?".
Wikipedia says ISO-8859-1 is pretty much the same as Windows 1252. I already have good tested code for decoding Win1252. Can I just use it directly and expect no problems?
© Stack Overflow or respective owner