textcode encoding (from gdk to utf-8)