Detect character encoding using ICU
github.com/sonicdoe/detect-character-encoding
sonicdoe/detect-character-encoding