Detect CJK characters in PHP
Posted
by Jasie
on Stack Overflow
See other posts from Stack Overflow
or by Jasie
Published on 2010-04-08T09:53:42Z
Indexed on
2010/04/08
10:03 UTC
Read the original article
Hit count: 507
Hello,
I've got an input box that allows UTF8 characters -- can I detect whether the characters are in Chinese, Japanese, or Korean programmatically (part of some Unicode range, perhaps)? I would change search methods depending on if MySQL's fulltext searching would work (it won't work for CJK characters).
Thanks!
© Stack Overflow or respective owner