Convert ASCII to UTF-16
#Firmware/v300
utxt = util.au16(txt, [be])
Converts ASCII string to UTF-16.
Parameter
Type
Description
txt
string
ASCII string
be
boolean
True for Big Endian encoding
Returns
Type
Description
utxt
string
UTF-16 encoded string