Allan recommended using [ftfy](https://github.com/LuminosoInsight/python-ftfy) (from Luminoso) to streamline and simplify our handling of text file uploads in various codecs.