Add more documentation to mkTextEncoding