removed some of the complicated utf8 munging