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] |
The standard way is using an *internal* wchar_t representation (basically, on GNU systems is UCS4, see the glibc docs), then exploiting the specialization codecvt<wchar_t, char, mbstate_t>.
So how do you do that?
Ok, I have a practical suggestion for you: why don't you have a look to our testsuite? gcc3.4.0 is shipped with a rich testsuite exercising of course the functionalities that you need: just take inspiration from those snippet. In particular, I suggest those in the dir:
Please, try to work out something yourself. In case, we can then help you if something unexpected happens.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |