Unicode
BlitzMax Forums/BlitzMax Programming/Unicode
| ||
First time trying to play with this in blitz to support unicode messages for my game. My client is in flash, so manually the strings are made and sent in a byte array (2 bytes per character). Is there a simple function with the new unicode support to convert the byte array into a unicode string? Edit: Also, is there writestring/readstring functions for streams to write unicode? |
| ||
2 bytes per character UTF-16? Depending on the endianness of those 2-byte characters, it might translate straight into a BlitzMax String. |
| ||
Thanks |
| ||
String.FromWString() will convert from a Short Ptr to a BlitzMax String. |