Force aspell to return suggested words with UTF-8 encoding.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35174 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2012-06-02 22:07:09 +00:00
parent f8c5c4673d
commit 70d2869adc
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-06-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/GSspell.m (-spellerForLanguage:): Force aspell to return
suggested words with UTF-8 encoding.
2012-05-21 Marcian Lytwyn <Marcian.Lytwyn@Advcsi.com>
* Source/GSXibLoader.m:

View file

@ -365,6 +365,7 @@ aspell_dictionaries()
{
AspellConfig *config = new_aspell_config();
aspell_config_replace(config, "lang", [dictLang UTF8String]);
aspell_config_replace(config, "encoding", "UTF-8");
speller = to_aspell_speller(new_aspell_speller(config));
[spellers setObject: [NSValue valueWithPointer: speller]
forKey: language];