深入 printf / wprintf / console下的unicode output
1. printf 只能提供ANSI/MB 的输出,不支持输出unicode stream.例如:wchar_t test[]=L"测试1234";printf("%s",test);是不会正确输出的2.wprintf 同样不会提供unicode output, 但是他会把wchar_t的string转为locale的SB/MB字符编码,然后输出例如:wchar_t test
转载
2008-11-21 16:12:00 ·
656 阅读 ·
0 评论