Am Dienstag, den 17.08.2010, 15:55 -0500 schrieb Bruce Dubbs: > Hmm. What charset am I using?
I guess that's the basic charset of ANSI C (see http://openbook.galileocomputing.de/c_von_a_bis_z/003_c_grundlagen_001.htm#mj6cc85534f12d7e0868b75171de8d087e). The prototype of printf: int printf(const char * restrict format, ... ); And it uses a char pointer (not a wchar_t pointer). If you want to print a wchar_t, you have to do the following: wchar_t ch = L'Z'; print("%lc", ch); -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
