News for hackers. Stuff that matters.
Re:C String Creation by sortie on Friday February 12, 2016 @02:52AM (#11085846)
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.

There are no comments on this comment yet.