Re: wcout, wprintf() only print English
Ioannis Vranos wrote:
> Ioannis Vranos wrote:
>> Has anyone actually managed to print non-English text by using wcout or
>> wprintf and the rest of standard, wide character functions?
>
>
> For example:
>
> [john@localhost src]$ cat main.cc
> #include <iostream>
>
> int main()
> {
> using namespace std;
>
> wcout<< L"Δοκιμαστικό μήνυμα\n";
Are you sure that you stored your source file in the same encoding the
compiler expects as source character set?
> }
>
> [john@localhost src]$ ./foobar-cpp
> ??????????? ??????
>
> [john@localhost src]$
|