the steps i did to make unicode possible on windows (i use utf 8 so i can use the code on linux and windows easily)
1) On windows system("chcp 65001"); as first code line in main
2) you have to use printf on widows, cout doesn't work
3) Save all files as UTF-8 encoded:
* Edit -> File Encoding -> untick System defaults
* Edit -> File Encoding ->tick utf8
4) save file ( check if at the bottom is written UTF-8)
5)
Select an utf8 capable font in all cmd windows. (not the standard font) (eg. use Lucida Console)6) compile and run
with this method you don't have to use the ugly L"" and wcout and wchar_t things...
i hope this works... I can't test it because i don't have a windows machine anymore...
greetings
___________________________________________________________-
http://www.utf8everywhere.org/