Unicode windows console output.

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Nov 3 06:36:09 EDT 2010


Hello Max,

Wednesday, November 3, 2010, 1:26:50 PM, you wrote:

> 1. You need to use "chcp 65001" to set the console code page to UTF8
> 2. It is very likely that your Windows console won't have the fonts
> required to actually make sense of the output. Pipe the output to
> foo.txt. If you open this file in notepad you will see the correct
> characters show up.

it will work even without chcp. afaik nor ghc nor windows adjusts text
being output to current console codepage


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Glasgow-haskell-users mailing list