clean up settings char encodings