By default, Java encodes Strings sent to
in the default code page. On Windows XP, this means a lossy conversion
to an "ANSI" code page. This is unfortunate, because the Windows Command
cmd.exe) can read and write Unicode characters. This post describes
how to use JNA to work round
This post is a follow-up to I18N: Unicode at the Windows command prompt (C++; .Net; Java), so you might want to read that first.