Japanese and UTF8

Werner Koch wk@gnupg.org
Thu, 17 Feb 2000 11:24:41 +0100


now that we have a Japanese translation, we have to do a conversion from
EOC_JP to UTF-8, because UTF-8 is the required encoding for user IDs
and some other strings in OpenPGP.

I don't think that the currently used simple mapping approach works
with that character set, because it is a simple one-to-one mapping and
I expect that EOC_JP uses state shifting.

What is a portable way to this conversion?  I had some talks about
that in Tokyo and it boiled down to let the OS/libc do it.  Okay, how?