Localization: example from document page doesn't work for latin characters ?

Paolo Carlini pcarlini@suse.de
Sun Dec 11 15:49:00 GMT 2005


Paolo Carlini wrote:

>                                                                Really,
>it's just matter of imbuing and then everything should work immediately.
>  
>
I.e., adding, at the beginning of main two lines like:

  ios::sync_with_stdio(false);
  wcout.imbue(locale("en_US.UTF-8"));

should work to enable conversion to external en_US.UTF-8.

Paolo.



More information about the Libstdc++ mailing list