diff options
author | alecpl <alec@alec.pl> | 2009-06-22 16:20:34 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-06-22 16:20:34 +0000 |
commit | ecb9fb058da8d0f5a8e59402c1c1ced21122cbc5 (patch) | |
tree | 9a8a3fb2aa33ffdae6616b73cbecc34cd9a19dbc /program/steps/mail/spell_pspell.inc | |
parent | 11b80e9e33e84c90852a46a5be6d5ff414b37661 (diff) |
- use RCMAIL_CHARSET instead of hardcoded 'utf-8'
Diffstat (limited to 'program/steps/mail/spell_pspell.inc')
-rw-r--r-- | program/steps/mail/spell_pspell.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/spell_pspell.inc b/program/steps/mail/spell_pspell.inc index 0722b5fa0..8e574a62d 100644 --- a/program/steps/mail/spell_pspell.inc +++ b/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) { |