Fix for IE9 utf8 bug