Convert UTF-8 and UTF-16
BlitzMax Forums/BlitzMax Programming/Convert UTF-8 and UTF-16
| ||
Can anyone tell me how to convert a string from UTF-8 to UTF-16 and vice versa? |
| ||
Hah, so I solved my problem with a little help from Blueapples... Converting the string into a stream and then loading it again with LoadText changes it into Blitz friendly UTF-16. Local stream:TStream = CreateRamStream(str, str.length, True, False) str = LoadText(stream) Last edited 2011 Last edited 2011 |
| ||
There's been a topic about it recently. Here : http://www.blitzmax.com/Community/posts.php?topic=94750#1088622 |