summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/tiny_mce
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-15 07:44:41 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-15 07:44:41 +0000
commit92211a0425059ca8331994a9c6d3f92c9266c410 (patch)
tree7abd6a4b1ab74d9d403747ac63dd4d24e9a79696 /roundcubemail/program/js/tiny_mce
parentdd9d98a7730b2bfbc77a6009e246a44de75790f1 (diff)
- fix multibyte characters on spellchecker suggestions list (still not fixed in tinyMCE repo)
git-svn-id: https://svn.roundcube.net/trunk@1981 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce')
-rwxr-xr-xroundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php2
-rwxr-xr-xroundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php
index 73479844b..d57dee7f2 100755
--- a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php
+++ b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php
@@ -38,7 +38,7 @@ class GoogleSpell extends SpellChecker {
$matches = $this->_getMatches($lang, $word);
if (count($matches) > 0)
- $sug = explode("\t", utf8_encode($this->_unhtmlentities($matches[0][4])));
+ $sug = explode("\t", $this->_unhtmlentities($matches[0][4]));
// Remove empty
foreach ($sug as $item) {
diff --git a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php
index 45448d070..6aa255cbd 100755
--- a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php
+++ b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php
@@ -37,7 +37,7 @@ class PSpell extends SpellChecker {
$words = pspell_suggest($this->_getPLink($lang), $word);
for ($i=0; $i<count($words); $i++)
- $words[$i] = utf8_encode($words[$i]);
+ $words[$i] = $words[$i];
return $words;
}