I found this topic Converting between a string, u16string and u32string , and the solution (which looks really great) only works with libC ++, not libstdC ++. Currently, lib ++ is not used - it is difficult to compile and does not work well on Windows.
Is there any method for converting between these views using C ++ 11 and libstdC ++ that works on all platforms?
I am particularly interested in converting u32_string to a string (utf8) and vice versa.
source
share