Hi,
On 20 févr. 06, at 15:03, Kari Päivärinta wrote:
Another problem which propably isn't RC related is that .htaccess line which sets UTF8 as default charset isn't working. If I change the whole apache to use UTF8 it works fine (breaking some other sites) but with this parameter in .htaccess (or in the virtual config) has no effect. View source shows "<meta http-equiv="content-type" content="text/html; charset=UTF-8" />, but is disregarded by IE and Firefox (Win/Linux).. Any ideas here?
I can report that I have this problem also (and didn't find a bug exactly related to this issue among all the encoding ones I found).
Here could be a workaround, though:
add in main.inc.php:
$rcmail_config['charset'] = 'utf-8';
(it will ensure that the correct meta is added)
replace the lines 119-120 in program/include/rcube_shared.inc with
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";; }
(just ensuring there is always an http header with the charset sent to the browser)
Note: I'm not sure it's the best way to do it, though, and I'm still investigating some other encoding problems I found with the new beta release.
Regards,
-l