Re: More UTF-8 fun

2013-09-28 Thread David F. Skoll
On Fri, 27 Sep 2013 23:23:33 -0400 "Kevin A. McGrail" wrote: > Some of the characters are multibyte and I've grouped them below. The > d0a1, d196 are chars that look similar to C and i. As I said before: There is only one way out of this madness, and that is to convert everything to Perl's inte

Re: More UTF-8 fun

2013-09-27 Thread John Hardin
On Fri, 27 Sep 2013, Kevin A. McGrail wrote: On 9/27/2013 11:41 PM, John Hardin wrote: On Fri, 27 Sep 2013, Kevin A. McGrail wrote: > or should I be using this: > > header __KAM_CREDIT8 Subject =~ /Your > (\xd0\xa1|C)ompl(\d1\d96|i)mentary/i I had the best results using this format:

Re: More UTF-8 fun

2013-09-27 Thread Kevin A. McGrail
On 9/27/2013 11:41 PM, John Hardin wrote: On Fri, 27 Sep 2013, Kevin A. McGrail wrote: or should I be using this: header __KAM_CREDIT8 Subject =~ /Your (\xd0\xa1|C)ompl(\d1\d96|i)mentary/i I had the best results using this format: header __KAM_CREDIT8 Subject =~ /Your (?:[\xd0][\xa1]|C)o

Re: More UTF-8 fun

2013-09-27 Thread John Hardin
On Fri, 27 Sep 2013, Kevin A. McGrail wrote: or should I be using this: header __KAM_CREDIT8 Subject =~ /Your (\xd0\xa1|C)ompl(\d1\d96|i)mentary/i I had the best results using this format: header __KAM_CREDIT8 Subject =~ /Your (?:[\xd0][\xa1]|C)ompl(?:[\xd1][\x96]|i)mentary/i I found that

More UTF-8 fun

2013-09-27 Thread Kevin A. McGrail
Ok, so as an example, I'm trying to hit this subject: Subject: =?utf-8?B?WW91ciDQoW9tcGzRlm1lbnRhcnkg0KFyZWTRlnQgVXBkYXRlINGWcyBSZWFkeS4uLg==?= Which is a UTF-8 Encoded Subject: Your Сomplіmentary Сredіt Update іs Ready... Some of the characters are multibyte and I've grouped them below. Th