Reply masking only works in English

Use this forum to get help.

Reply masking only works in English

Postby lwc » Sun Sep 26, 2010 10:04 am

Reply masking messes up any non English display name. When not in English, it's:
  1. Not encoded.
  2. Cuts off the last character.
For example, Foobar (if it wasn't in English) comes out like:
Code: Select all
From:  Foobar - real@mail <spamgourmet@mail>
Subject: =?Windows-1255?Q?=E4=F9=ED =F9=EC=E9?=
Content-Type: text/plain;
   charset="Windows-1255


When it's supposed to be something like
Code: Select all
From: "=?Windows-1255?Q?=EC=E9=E0=E5=F8?=" <spamgourmet@mail>

The same thing happens with Unicode (UTF-8).
Last edited by lwc on Wed Nov 13, 2013 10:43 am, edited 2 times in total.
lwc
 
Posts: 455
Joined: Sat Aug 28, 2004 9:09 am

Postby josh » Tue Oct 05, 2010 9:21 pm

when I wrote the code, I only ever saw ascii used in email addresses, and it didn't seem to me that mail servers supported utf8 - I may have been right, but I suppose that's changed by now (10 years later). I'll have to look into the best way to support it without creating potential security issues.
josh
 
Posts: 1371
Joined: Fri Aug 29, 2003 2:28 pm

Re: Reply masking only works in English

Postby lwc » Wed Nov 13, 2013 10:47 am

But like I wrote, it's the same with any encoding, not just utf8. You already encode subjects, so all you have to do is do the same with display names (FROM and TO).
lwc
 
Posts: 455
Joined: Sat Aug 28, 2004 9:09 am


Return to Support / Hilfe / ayuda / ondersteuning / ...

Who is online

Users browsing this forum: No registered users and 21 guests

cron