soywiz-archive / jtransc

Bytecode to source converting Java & Kotlin code into JavaScript, C++, D, C#, PHP, AS3, Dart and Haxe and run it everywhere. Also use JVM code in your favourite language as a library.
https://jtransc.soywiz.com/
Apache License 2.0
632 stars 67 forks source link

Use u16string in C++ (to avoid wasting 32-bit while java doesn't support them #212

Closed soywiz closed 7 years ago

soywiz commented 7 years ago

I tried this mostly for trying to avoid surrogate-pair problems. But it seems that it doesn't work either. So I'm giving up with this. Also C++11 std functions doesn't work with u16string either, so conversions are required which is problematic.