- fix multibyte characters on spellchecker suggestions list (still not fixed in tinyMCE repo)
| | |
| | | $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) {
|
| | |
| | | $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;
|
| | | }
|