How do I search in a regular expression against a Mandarin string?

How do I search in a regex with a Mandarin string?

+1


source to share


2 answers


Doesn't differ from another line; of course, this requires a language and regex library that uses unicode correctly for its strings and does not assume the string is just a byte array interpreted as ASCII.



+2


source


What language? In PHP, use UTF-8 and the / u modifier.



0


source







All Articles