Add logic to deal with text encodings