The u8xml package NewDecoder
can be used to parse XML files with IANA character encodings instead of Go Standard Library xml package Decoder.
The cmd
folder contains the source code of the u8hex
command-line interface utility, which may be used to get the hex representation of a string with a given character set. It may be useful for debugging.
u8hex is inspired by cpd