将朝鲜语字符转换为实体


Converting Korean characters into entities

我正在尝试将朝鲜语字符转换为unicode/html实体,但运气不佳。我使用此网站:http://www.mylanguages.org/converter.php但是希望在php编码中有类似的东西。

$text ='한예진';
echo htmlentities($text);

示例:한예진转换为한예진

mb_convert_encoding($text, "HTML-ENTITIES", "UTF-8");