Thanks!

It work by adding:

header("Content-Type: text/html; charset=".$this->charset);

On line after line 119 (the if statement)

Excellent!

/Alexander

On Fri, 24 Feb 2006 18:01:08 +0100, Leonard Bouchet <[EMAIL PROTECTED]> wrote:
> 
> On 24 févr. 06, at 17:57, alexander wrote:
> 
>> I added it to main.inc.php and if I look at the HTML source it 
>> includes this line:
>>
>> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
>>
>> Buth the browsers, both Firefox and IE doesn't seem to respect it. 
>> Does it get another encoding instruction in the http header?
> 
> You can try to replace the lines 119-120 in 
> program/include/rcube_shared.inc with
> 
>      if (!empty($this->charset)) {
>        header("Content-Type: text/html; charset=$this->charset");
>         = '<meta http-equiv="content-type" 
> content="text/html; charset='.$this->charset.'" />'."\n";;
>      }
> 
> This will overwrite the appropriate http header and should help your 
> browser recognize the correct charset. It's not the definitive answer, 
> though, and I'm still having trouble with some js calls that don't get 
> the proper encoding.
> 
> Hope this helps,
> 
> Regards,
> 
> -l
-- 
Alexander Isacson



Reply via email to