Character encoding

YAO Yong yyao at capitaltech.net
Mon Feb 27 09:20:08 CET 2006



Leonard Bouchet wrote:

>
> On 24 févr. 06, at 18:47, alexander wrote:
>
>> I noticed that after I send an and am taken back to the inbox I don't
>> the the new encoding.
>> I guess the "Message send successfully" doesn't honor it.
>
>
> I think that the js http_request call that doesn't get the proper
> encoding in it's response. I found a way to get it working doing:
>
>
> 1. Replace line 672 of program/include/main.inc with
> header("Content-Type: application/x-javascript; charset=$CHARSET");
>
>
> 2. Replace line 2853 of program/js/app.js with
> ctype = (String(ctype).toLowerCase()).split(';')[0];
>
>
> Once again, it worked for me, but it could need some further
> investigation. I'm not sure if someone is already working on a patch
> for these issues. I would be glad to do it if it's not the case (and
> if I'm working in the right direction).
>
> Regards,
>
> -l
>
when i changed 0.1beta code with ur patch, it seems that i cannot get
inbox list from 'Sent' to 'Inbox'.
anybody knows something about it?
i'm using encoding 'GB2312'. UTF-8 cannot run smoothly between one
operation-window and another(such as Inbox List, read content, etc).

B/Rgz.





More information about the Dev mailing list