From 57837fd6892aed4ad03f250e120f2b2c79e8a5a5 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 08 Jan 2010 03:27:57 -0500
Subject: [PATCH] - Bug in spellchecker suggestions when server charset != UTF8 (#1486406)

---
 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 0abdc9e..578bfe5 100644
--- a/program/steps/mail/spell_pspell.inc
+++ b/program/steps/mail/spell_pspell.inc
@@ -71,7 +71,7 @@
 
 $out .= '</spellresult>';
 
-header("Content-Type: text/xml");
+header("Content-Type: text/xml; charset=".RCMAIL_CHARSET);
 echo $out;
 exit;
 

--
Gitblit v1.9.1