Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
sortie
· 10y ago · 0 comments
Just use setlocale(LC_ALL, "") in main, and use mbrtowc to translate from whatever the system encoding is into the wchar_t type. There's no need to bake assumptions about the system encoding into most programs.
Comments
No comments yet.
Better HN