mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
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:
parent
f8c5c4673d
commit
70d2869adc
2 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue