A small hack that uses ICU and libguess in order to detect character encodings and convert them to UTF-8.