Test for UTF-8 as mattn suggests.

The string is "Hello world" in Japanese.  (hat tip:  Google Translate.)