Subject: | Invalid charsets used in the wild crashes MIME-Charset |
The charsets "238" (outdated alias for "windows-1250") and
"iso-8859-8-i" (I assume it is a corrupt form of "iso-8859-8") have been
discovered in the wild, in emails. MIME::Charset cannot currently handle
them in any sensible way.
The error-message is as follows:
Can't call method "encode" on an undefined value at
/usr/share/perl5/MIME/Charset.pm line 629.
I've checked, they're not in
http://www.iana.org/assignments/character-sets , so definitely invalid,
evil and annoying.
You could add aliases for these two of course but there are no doubt
more such weirdo charsets out there...