added support for different encodings
[claws.git] / src / compose.c
index 35746fbc1e30730788cf2f584edc29e9bddcbf90..f43844629f585c5c572732403a2ba90880814ce8 100644 (file)
@@ -3581,7 +3581,8 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
                gtkpspell = gtkpspell_new_with_config(gtkpspellconfig,
                                                      prefs_common.pspell_path,
                                                      prefs_common.dictionary,
-                                                     PSPELL_FASTMODE,NULL);
+                                                     PSPELL_FASTMODE,
+                                                     conv_get_current_charset_str());
                if (gtkpspell == NULL)
                        prefs_common.enable_pspell = FALSE;
                else