modified text encoding