[imp] Accents in spellcheck with aspell (replay)

Jan Schneider jan at horde.org
Fri Nov 10 11:04:58 PST 2006


Zitat von Fabio Lourenco Gomes <flgomes at fazenda.sp.gov.br>:

> ----- Mensagem de jan at horde.org ---------
>> Zitat von Fabio Lourenco Gomes <flgomes at fazenda.sp.gov.br>:
>>
>>> ----- Mensagem de jan at horde.org ---------
>>>> Zitat von Fabio Lourenco Gomes <flgomes at fazenda.sp.gov.br>:
>>>>
>>>> fix. But I lost you completely on your system using different
>>> charsets.
>>>>
>>>
>>> My system is entirely configured to use ISO-8859-1. The problem
> is
>>> the Firefox supports UTF-8, thus allowing horde to switch to
>>> UTF-8.
>>
>> This is fine.
>>
>>> There it goes:
>>>
>>> * Browser (Firefox 1.5): default charset ISO-8859-1, but supports
>>> UTF-8;
>>> * Operating System (Fedora 4): charset ISO-8859-1, language
>>> pt_BR;
>>
>> Doesn't matter.
>>
>>> * PHP 5.0.4: default charset ISO-8859-1;
>>
>> Doesn't matter.
>>
>>> * Apache 2.0.54: default charset ISO-8859-1;
>>
>> Doesn't matter.
>>
>>> * horde/config/nls.php:
>>>   $nls['defaults']['language'] = 'pt_BR';
>>>   $nls['spelling']['pt_BR'] = '-d pt_br';
>>> * Spellchecker: aspell-0.50.5-6, aspell-pt_BR-2.4-14, dictionary  
>>> charset: ISO-8859-1.
>>>
>>> Horde converts all charsets in the pages to UTF-8 if my browser   
>>> supports it, except the words from the dictionary used by the
>> spell
>>> checker in compose.php.
>>
>> This is the default setup for 95% of all Horde installations and
>> the
>> spell checker works fine for most of them.
>>
>
>   Ok. But where do you think the problem lies? The same setup worked  
> without that issue with Horde 3.0.9. I don't know where to check,  
> but the words took from the spellchecker are converted to UTF-8 like  
> it does with translations?

I have no idea, you need to track this down locally.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list