2011-10-14, 18:37:21
hameau Wrote:To use utf-8 (and avoid html entities for normal text) throughout, it is necessary to set the editor options and change the safe_slash_html() function as mentioned in this post.
I've done it... but this don't work with keywords and description. I think its a solution for page content only.
function get_page_meta_keywords($echo=true) {
global $metak;
$myVar = strip_decode($metak);
$myVar = html_entity_decode($myVar, ENT_QUOTES, "UTF-8");
if ($echo) {
echo $myVar;
} else {
return $myVar;
}
}
I've add bolded line in every get_page_XXX function in theme_functions.php that seems to work.