Text Encoding problems in the Editor