I have a program that reads a bunch of text and analyzes it. The text may be in any language, but I need to test for japanese and chinese specifically to analyze them a diff
A workaround is to check the encoding before it is converted to Unicode.