Input Japanese Unicode Characters in C

I want to display Japanese characters with a C program.
Is it impossible? Most webpage links redirect to C# or C++.

I tried UTF-8 encoding and the ja_JP locale but it printed funky results, different than the ANSII encoding.
If I knew the format for how to input the Unicode hex or the decimal, would that work or would there still be an issue with the display? Is there a format for that?

Eventually I am trying to add it to a big project I am working on where specifics matter, but I can play with that then. I just want to know if it's possible and if so then the general way to do it.
 
I want to display Japanese characters with a C program.
Is it impossible? Most webpage links redirect to C# or C++.

I tried UTF-8 encoding and the ja_JP locale but it printed funky results, different than the ANSII encoding.
.
output for ja_JP should be quite different than ASCII - - that's the whole point of Unicode and UTF-8 is the wrong table.

As Japanese is double-byte codes, you're not going to push Ascii -> Unicode and get ja_JP output.
Suggest you read up on Natural Language Support

http://stackoverflow.com/questions/19899554/unicode-range-for-japanese
 
Back