fix for issue 356: unicode labels cause the text/curses UI to crash