Test string encoding detection gems and strategies for transcoding a file from an unknown encoding to UTF-8