How do you stop receiving foreign language mail

V

VanguardLH

Ken said:
How do I stop mail in Eastern European languages?

Is the version of Outlook that you use to remain a secret?

I still use OL2002. You didn't identify what is the target language in
which you can read e-mails. For me, it's just English. You can define
a rule to look for the charset declaration in the headers of an e-mail.
The headers will contain something like:

Content-Type: <type>;
charset="<charset>"

<charset> is the name of the character set. You could either filter-in
which charsets you are willing to receive or filter-out those charsets
that you don't want to receive. Personally I would filter-out the
"bad" charsets (those that I can't read). Some strings you could test
on in the message headers might be:

charset="Big5"
charset="ChineseBig_Charset"
charset="EUC-KR"
charset="GB2312"
charset="GB2312_Charset"
charset="ISO-2022-JP"
charset="ISO-2022-KR"
charset="KOI8-R"
charset="KS_C_5601_1987"
charset="Windows-1250"
charset="Windows-1251"
charset="Windows-1254"
charset="Windows-1256"
charset="Windows-1257"
charset="Windows-1258"
charset="Windows-874"

I don't know that you think are "European languages". The ones above
are those where I've found that it was "some language" (I don't care
which) that I couldn't read in English. You don't just define a rule
to search the headers for 'Windows-1250' (although it might work) but
include the 'charset=' portion since it is a parameter, usually on a
separate line, of the Content-Type declaration. For example, the rule
would check the headers for the presence of:

'charset="Windows-1250"'

You can define one rule that tests on all these charsets because the
operands gets OR'ed. I rarely get e-mails in a non-English language.
If you are using this scheme to get rid of spam, forget it. Regardless
of how poor is their grasp of English, spammers still spew their crap
using a charset that shows as English.
 
Top