utf8 mode added to appease HTML parser