Fix incompatible character encodings