http://blog.kalmbachnet.de/?postid=98
http://blogs.msdn.com/b/michkap/archive/2010/10/07/10072032.aspx
http://blogs.msdn.com/b/michkap/archive/2008/03/18/8306597.aspx
http://illegalargumentexception.blogspot.com/2009/04/i18n-unicode-at-windows-command-prompt.html
With the techniques in those articles, you can display both UTF-16 and UTF-8 Unicode characters in a console window.
There are some caveats:
- The console window must be set to a TrueType font. By default it is set to a raster font, which does not support Unicode characters.
- Not all languages are supported. Lucida Console, the most common console TrueType font, will display Russian characters, but not Arabic or Hebrew.
http://groups.google.com/group/microsoft.public.win32.programmer.international/browse_thread/thread/788eaf7082088b35
This comment has been removed by a blog administrator.
ReplyDelete