String::createStringFromData() ASCII problem


#1

String::createStringFromData() with the new String setup is not working anymore for ASCII characters above 127. Is this intentional?


#2

It treats it as UTF8, so if your data is UTF8, it’ll work.


#3

no, it sometimes is plain ASCII with extended characters. I guess I have to write my own method?


#4

There’s no way it could possibly guess which code-page you expect it to use for interpreting the extended characters, so yes, for anything other than utf8 you need to deal with it yourself.