TextEncoding fixes, added reverse encodings