diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-22 16:20:34 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-22 16:20:34 +0000 |
| commit | f99ab196a4197253f598652dfc5877bf84ccb90b (patch) | |
| tree | 1c92717b743b611fd8ce1cf7e04c581cd351bbd4 /roundcubemail/program/steps/mail/spell_pspell.inc | |
| parent | 9acb4569bc7047b715f422a1301dc6a570416555 (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.inc | 2 |
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) { |
