Convert UTF-8 to UTF-16

utxt, ok = util.u8u16(utxt, [be])

Convert UTF-8 to ASCII.

Parameter Type Description
utxt string UTF-8 encoded string
be boolean True for Big Endian encoding (Default = true)
Returns Type Description
utxt string UTF-16 string
ok boolean True if the UTF-8 was properly formed