Angus Leeming wrote: > Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: >> We have of course one other options: >> >> On linux: char_type is wchar_t >> docstring is wstring >> >> On windows: char_type is uint32_t >> docstring is basic_string<uint32_t> >> >> Perhaps that is the easiest solution after all? > > Works only for MSVC. Will still fail for MinGW and Cygwin.
Exactly. If we decide to not support MinGW and Cygwin anymore then this is indeed the easiest solution. IIRC I already sent a patch that does exactly this some time ago. If we decide to support MinGW and Cygwin, then it will not work, since they don't have any wchar_t, not even a 16 bit one. Georg