Convert ASCII to UTF-8

utxt = util.au8(txt)

Converts ASCII string to UTF-8.

Simple conversion of 0x00-0x7f directly, and 0x80-0xff into double character sequences.

Parameter Type Description
txt string ASCII string
Returns Type Description
utxt string UTF-8 encoded string