HTML5 non-ASCII characters

Hello, have you been able to use non-ASCII characters in a HTML5 packaged version?

I’m loading a .json file (through http request) that contains polish characters and after deserializing it I actually get no errors, but the string is not read properly. Here is what appears in my log:

what should be:

[2015.06.19-08.21.09:738][  4]LogTemp:Warning: szef wszystkich szefów

what is:

[2015.06.19-08.21.09:738][  4]LogTemp:Warning: szef wszystkich szefóL

The “L” character at the end is what is printed between log lines, so it looks like not only “w” character is gone but also “new line” character (which the log function adds) is cut off.

I have also tried setting the non-ASCII string to ATextRenderActor which causes a memory error:

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 536870912, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.

I will appreciate any help!