Re: spell checker problem in french

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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 ?
Dunno. some parts of spellchecker still run in utf-8 and some javascriptfunctions does not sanitize user input.
-- Tomas
-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys - and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV--squirrelmail-users mailing listPosting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelinesList Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxxxxxx Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.userList Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux