Quote:
Originally Posted by postcd
im using ě?čř????? chars..
i found ISO-8859- 2 is not supported in htmlspecialchars() function: http://php.net/manual/en/function.htmlspecialchars.php
Please any idea how to replace ( htmlentities?) that function or safelly skip it so this Word Links plugin works with that charset?
functions_bop_wordlinks.php CODE:
Code:
// $bopfind = preg_quote (htmlspecialchars($bopfind));
define('CHARSET', 'ISO-8859-2');
define('REPLACE_FLAGS', ENT_COMPAT | ENT_XHTML);
$bopfind = preg_quote (htmlspecialchars($bopfind,REPLACE_FLAGS, CHARSET));
iso-8859-1 dont show-up links for me
|
I'm sorry I can't support non-latin character sets, I just don't know how they work.
But looking at the description you could just try replacing
htmlspecialchars with
htmlentities in the code- the function should work the same way,