[RCD] GB2312 and ISO-2022-KR

A.L.E.C alec at alec.pl
Thu Sep 22 10:30:46 CEST 2016

On 22.09.2016 10:27, Vladimir Gorpenko wrote:
> Multibyte Support     enabled
> Multibyte string engine     libmbfl
> HTTP input encoding translation     disabled
> libmbfl version     1.3.2
> I do not know, is "HTTP input encoding translation" significant for my
> situation or now.

input/output encoding must be disabled.

> Now I have a letter with GB2312 charset.
> This encoding is specified in:
> - headers, where it is used: Subject: =?gb2312?B?STo...
> - Content-type header:
> Content-Type: text/plain;
>     charset="gb2312"
> Content-Type: text/html;
>     charset="gb2312"
> - The coding is mentioned in HTML headers quite strange. I don't know,
> what does it mean.
> xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
> http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">

This looks fine. Do you have the same problem if you display the message
in both text and html modes?

> I am sure the letter is encoded properly because eM client opens it
> correctly.
> But in RC I see something like the Arab characters.

What PHP version? Could you forward a sample message to me?

Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer         [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com

More information about the dev mailing list