Encoding problem

Martin Marques martin at bugs.unl.edu.ar
Fri Aug 11 17:07:09 CEST 2006

On Fri, 11 Aug 2006, Jan Mikus wrote:

> There is encoding problem in headers with central european characters.
> Recipient address "Jan Mikuÿÿ <mikus at itcomputers.cz>" after encoding 
> return "=?UTF-8?Q?Jan=20Miku=C5=A1=20<mikus at itcomputers.cz>?=" (right is 
> "=?UTF-8?Q?Jan=20Miku=C5=A1?= <mikus at itcomputers.cz>") and Postfix this 
> header encode to "=?UTF-8?Q?Jan=20Miku=C5=A1=20 
> <mikus at itcomputers.cz>,\n ?=@arachne.itcomputers.cz".

Not only that. If the header has a \n you get wrong visual on the message 
list. For example:

From: "=?iso-8859-1?b?Q+lzYXI=?= E. =?iso-8859-1?b?RO1heg==?="
     <cdiaz (at) fce.unl.edu.ar>

Is posted to the web browser like this:

<td class="from"><a href="mailto:"César E. Díaz><br />
cdiaz at fce.unl.edu.ar" onclick="return rcmail.command('compose','"César E. 
Díaz"<br />
cdiaz at fce.unl.edu.ar',this)" class="rcmContactAddress" title=""César E. 
Díaz"<br />
cdiaz (at) fce.unl.edu.ar">César E. Díaz"<br /><br />
cdiaz (at) fce.unl.edu.ar</a></td>

P.D.: I changed, on purpose @ for (at).

  21:50:04 up 2 days,  9:07,  0 users,  load average: 0.92, 0.37, 0.18
Lic. Martín Marqués         |   SELECT 'mmarques' ||
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
     del Litoral             |   Administrador

More information about the Dev mailing list