Page MenuHomePhorge

function phutil_utf8_is_cjk($string)
libphutil Technical Documentation (Core Utilities)

Test if a string contains Chinese, Japanese, or Korean characters.

Most languages use spaces to separate words, but these languages do not.

Parameters
string$stringString to examine, in UTF8.
Return
boolTrue if the string contains Chinese, Japanese, or Korean characters.