c++ - Printing unicode character in C -
c++ - Printing unicode character in C -
i got local language font installed in scheme (windows 8 os). through character map tool in windows, got know unicode characters particular font. wanted print character in command line through c program.
for example: assume greek letter alpha represented unicode u+0074.
taking "u+0074" input, c programme output alpha character
can help me?
there several issues. if you're running in console window, i'd convert code utf-8, , set code page window 65001. alternatively, can utilize wchar_t (which utf-16 on windows), output via std::wostream , set code page 1200. (according the documentation i've found, @ least. i've no experience this, because code has had portable, , on other platforms i've worked on, wchar_t has been either private 32 bit encoding, or utf-32.)
c++ c winapi unicode
Comments
Post a Comment