KMail doesn't apply a filter with euro sign
I'm trying to create a filter on subject for incoming German emails
My regex looks so: \b([Bb]erufsunfähig.*|€)\b (\b is word delimiter) But it doesn't work for emails containing an euro sign in their subjects. First I thought that it should have something to do with unicode. But this part of regex \b[Bb]erufsunfähig.* work (contains a-umlaut), so unicode cannot be the cause of the problem. |
ISO-8859-1 (Latin 1) did not include the euro, but does include other common unicode characters. It was added in the replacement ISO-8859-15 (Latin 9). Most likely the mail is using the old encoding; lots of software does. Check the headers for the character encoding. Here's one in my inbox:
Code:
Content-Type: text/plain; charset=windows-1252; format=flowed |
What I've seen in the email source is:
Quote:
Quote:
I have tried it with € and with \u20AC with no luck. |
All times are GMT -5. The time now is 08:32 AM. |