Make tputc, tsetchar and techo accept unicode