Patrick DUBAU a écrit :
> Tomas Kuliavas a écrit :
>   
>>> Hi,
>>>
>>>  SM : 1.4.9a
>>>  os: debian 3.1
>>>  php : 4.3.10-18
>>>  apache : 1.3.33
>>>  in config.php :
>>>     $squirrelmail_default_language = 'fr_FR';
>>>     $default_charset       = 'iso-8859-1';
>>>     $lossy_encoding        = false;
>>>
>>> i enabled the plugin : html_mail in which i forced the using of the
>>> spellchecker aspell with french dictionarie
>>> It works for "common" words, but i have problems when having specific
>>> french characters
>>> For exemple : when i type "maiso" the speelschecker prompts me the
>>> following words :
>>>     maison, maisons, mezzo,naisse, mé, mess, mesa, mélo,...
>>>
>>> doing the same on command line ( echo " maiso" | /usr/bin/aspell -a -d
>>> french -H)
>>> it prompts with the correct syntax
>>>     @(#) International Ispell Version 3.1.20 (but really Aspell
>>> 0.60.3-20050121)
>>>     & maiso 12 1: maison, maisons, mezzo, naisse, mélos, mess, mesa, mélo,
>>> peso, m'est, messe, météo
>>> so it looks like a problem on SM, and specially the html_mail plugin, side
>>>
>>> Does someone noticed the same problem and has a solution ?
>>>     
>>>       
>> Plugin forces use of utf-8 encoding in aspell command. See $aspell_opts in
>> fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
>>
>>   
>>     
> that's it!
> i put
>    $aspell_opts = "-a --lang=$lang --encoding=iso-8859-1 -H";
> instead of
>     $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H";
> and it works
>
> thank you very much Tomas
>
>   
ooops... it works but only with words without 'accent'.
Exemple : i put :  maiso de mon frère => it prompts : maiso frà de mon 
frère (so he adds "frÃ" ) 
making no sense to the phrase

so just another thing to modify but where ?

Thx


-


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to