function ARC_api_helper::encode_mysql_utf8_bugs in Taxonomy import/export via XML 6.2
Same name and namespace in other branches
- 5.2 arc/ARC_api_helper.php \ARC_api_helper::encode_mysql_utf8_bugs()
- 5 arc/ARC_api_helper.php \ARC_api_helper::encode_mysql_utf8_bugs()
- 6 arc/ARC_api_helper.php \ARC_api_helper::encode_mysql_utf8_bugs()
File
- arc/
ARC_api_helper.php, line 52
Class
Code
function encode_mysql_utf8_bugs($val = "") {
$val = str_replace(utf8_encode(""), "&#arc220;", $val);
$val = str_replace(utf8_encode(""), "&#arc223;", $val);
$val = str_replace(utf8_encode(""), "&#arc246;", $val);
$val = str_replace(utf8_encode(""), "&#arc252;", $val);
return $val;
}