Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 schrieb am 12.01.2012 um 09:54 (+0100): > Run `chcp 65001`, see <http://enwp.org/chcp_(command)>. I have not > tested this.
Okay, that's just the regular chcp command. > Setting the encoding to Windows-1252 and then expecting to be able to > talk variations of UTF to it seems wrong. Might seem wrong at first glance, I agree; but hey, this is Windows, and it magically works, sort of bypassing the chcp setting! You just need the C API call: _setmode(_fileno(stdout), _O_WTEXT) Or some equivalent of that, which is what Win32::Unicode seems to be doing. -- Michael Ludwig