Hi in myapp I need to parse email From and Subject fields for charset (in order
to detect spam).
Typically spam may have Jap characters (or Korean etc) in those fields.
What I want to do is read the characters from each field to determine if they
fall into a charset group, which could be one of many.
Any suggestions on what you might consider most expedient way to do this?

Why I ask is that it seems a lengthy process to parse through each field,
character by character, and if a character is within the current searched
charset it is flagged as such. this means iterating through all characters of
both fields for all predefined 'spam' charsets.
There may be a better way?

thanks vm.
Alistair

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to