PHP :Detecting if a string it's japaness/chiness ?!

I would like to know how i can may be able to detect non english native text like russian, japanese, chiness from a string?

For example:

IF you click view source, you will see that those “crazy laters” are just added there, they are not in that unicode format like & ; 0233 …etc…

So how i can tell if a string it’s using latin alphabet, and not japaness or chiness?

Twitter is using UTF-8, meaning it supports other languages characters relatively easily. The change is when it comes to working with those characters in PHP which is not UTF-8 friendly.

PHP handles japanese / chinese characters fairly well. Are you grabbing from the database.

here is an example of a website i did