Exemplo n.º 1
0
function get_pinyin($str, $charset = "utf-8")
{
    $pinyin = new pinyin();
    return $pinyin->get_pinyin($str, $charset);
}