ByteArray.readMultiByte

#1

This function seems to support UTF-8 only from the source code.
Hope to support GBK at least. :pray:
image

Moreover, the behavior of readMultiByte(length,'utf-8') is not exactly the same as readUTFBytes(length) in flash, the latter can automatically skips BOM. :grin:

0 Likes

#2
0 Likes

#3

Would BOM handling fix the function?

0 Likes