Fix for UTF-8 problem in IE10 and IE11