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:
Replace line 672 of program/include/main.inc with header("Content-Type: application/x-javascript; charset=$CHARSET");
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
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:
- Replace line 672 of program/include/main.inc with
header("Content-Type: application/x-javascript; charset=$CHARSET");
- 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.
On 27 févr. 06, at 09:20, YAO Yong wrote:
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?
Did you fully reload the page (empty the cache, relaunch the browser, etc.)?
i'm using encoding 'GB2312'. UTF-8 cannot run smoothly between one operation-window and another(such as Inbox List, read content, etc).
Are u sure of that? I'm quite confident that utf-8 can display any sort of character in any situation, but I could be wrong...
Regards,
-l
Leonard Bouchet wrote:
On 27 f�vr. 06, at 09:20, YAO Yong wrote:
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?
Did you fully reload the page (empty the cache, relaunch the browser, etc.)?
i'm using encoding 'GB2312'. UTF-8 cannot run smoothly between one operation-window and another(such as Inbox List, read content, etc).
Are u sure of that? I'm quite confident that utf-8 can display any sort of character in any situation, but I could be wrong...
Regards,
-l
yep, i've changed my encoding from 'GB2312' to 'UTF-8' & using the following method from u:
$rcmail_config['charset'] = 'utf-8';
(it will ensure that the correct meta is added)
if (!empty($this->charset)) { header("Content-Type: text/html; charset=$this->charset"); $__page_header = '<meta http-equiv="content-type" content="text/html; charset='.$this->charset.'" />'."\n";; }
it seems rc works correctly now. let me check it with more operations........ thx.
B/Rgz.