utf8 problems
Posted: Fri Sep 01, 2006 9:06 am
I run a Gentoo system. I just did a ton of updates to the system (but not serendipity) and now I am getting this error message when I try to view my blog
Fatal error: Call to undefined function: utf8_decode() in /home/httpd/htdocs/blog/include/functions_permalinks.inc.php on line 115
I looked at that peice of php
It looks like this
} else {
// Replace international chars not detected by every locale
if (LANG_CHARSET == 'UTF-8') {
// URLs need to be 7bit - since this function takes care of the mos$ // characters, try to UTF8-decode the string first.
$str = utf8_decode($str);
}
Line 115 is this
$str = utf8_decode($str);
I am in the us and doubt I need international language support. Anyone have an idea on this?
Can I just route around that function? I am not a php programmer so I am clueless at this point.
version is fairly recent just installed about August 1.
Fatal error: Call to undefined function: utf8_decode() in /home/httpd/htdocs/blog/include/functions_permalinks.inc.php on line 115
I looked at that peice of php
It looks like this
} else {
// Replace international chars not detected by every locale
if (LANG_CHARSET == 'UTF-8') {
// URLs need to be 7bit - since this function takes care of the mos$ // characters, try to UTF8-decode the string first.
$str = utf8_decode($str);
}
Line 115 is this
$str = utf8_decode($str);
I am in the us and doubt I need international language support. Anyone have an idea on this?
Can I just route around that function? I am not a php programmer so I am clueless at this point.
version is fairly recent just installed about August 1.