Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromUTF16le ¶
FromUTF16le returns an io.Reader for UTF16le data. Windows uses little endian by default, use unicode.UseBOM policy to retrieve BOM from the text, and unicode.LittleEndian as a fallback.
func FromUTF16leToString ¶
FromUTF16leToString reads from Unicode 16 LE encoded data from an io.Reader and returns a string.
func RemoveControlChars ¶ added in v2.2.1
RemoveControlChars drops non-printable runes so guest-controlled text is safe to print to the operator's terminal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.