ttxgettext: Handle UTF-8 input