summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/spell_pspell.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-22 16:20:34 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-22 16:20:34 +0000
commitf99ab196a4197253f598652dfc5877bf84ccb90b (patch)
tree1c92717b743b611fd8ce1cf7e04c581cd351bbd4 /roundcubemail/program/steps/mail/spell_pspell.inc
parent9acb4569bc7047b715f422a1301dc6a570416555 (diff)
- use RCMAIL_CHARSET instead of hardcoded 'utf-8'
git-svn-id: https://svn.roundcube.net/trunk@2672 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/spell_pspell.inc')
-rw-r--r--roundcubemail/program/steps/mail/spell_pspell.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/spell_pspell.inc b/roundcubemail/program/steps/mail/spell_pspell.inc
index 0722b5fa0..8e574a62d 100644
--- a/roundcubemail/program/steps/mail/spell_pspell.inc
+++ b/roundcubemail/program/steps/mail/spell_pspell.inc
@@ -49,7 +49,7 @@ $words = preg_split('/[ !"#$%&()*+\\,-.\/\n:;<=>?@\[\]^_{|}]+/', $text, NULL, P
$plink = pspell_new(get_input_value('lang', RCUBE_INPUT_GET), null, null, RCMAIL_CHARSET, PSPELL_FAST);
// send output
-$out = '<?xml version="1.0" encoding="UTF-8"?><spellresult charschecked="'.rc_strlen($text).'">';
+$out = '<?xml version="1.0" encoding="'.RCMAIL_CHARSET.'"?><spellresult charschecked="'.rc_strlen($text).'">';
$diff = 0;
foreach ($words as $w) {