This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |