Add support for *TEXT columns, and make sure multi-byte characters are handled correctly.