Afficher un message
Vieux 23/02/2008, 11h33   #3
Rolf Magnus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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]$


  Réponse avec citation
 
Page generated in 0,05425 seconds with 9 queries