Possible fix for Latin encodings