textenc provides functions to decode non-UTF8 text strings