vooood said:
i'm making a console application and i need unicode support.. how do i
get it? the app also needs to be multiplatform (windows/linux only).. is
it possible to use unicode with pdcurses?
There's no platform independent UNICODE. Windows uses a 16 bit encoding
of UNICODE, most UNICES use 32 bits. In Windows the interfaces are
natively 16-bit unicode, while on most UNICES things are converted back
to a UTF-8 multibyte encoding.
While using wchar_t and things based on it will get you a lot of the
way, there are a lot of things that you'll have to deal with on an
implementation by impelementation basis (Part of which would be
unnecessary if C++ wasn't lacking wchar_t based interfaces to
the various important system calls like filenames and program
arguments).