IEInternals

A look at Internet Explorer from the inside out. @EricLaw left Microsoft in 2012, but was named an IE MVP in '13 & an IE userAgent (http://useragents.ie) in '14

Unicode in URL changes for IE11

Unicode in URL changes for IE11

  • Comments 3

I wrote a bit about Internet Explorer’s International Settings back in July of 2012. Internet Explorer 10 and 11 quietly brought some changes:

image

In IE10, the Use UTF-8 for mailto links option was removed.

In IE11, the misleadingly-named Send UTF-8 URLs option is renamed to correctly reflect its function (Send URL path as UTF-8) and it’s joined by two off-by-default options to Send UTF-8 query strings. We had considered adding these options in IE8 but ultimately decided that we didn’t have time and runway to introduce a potentially-breaking change to IE’s handling of non-ASCII query strings.

Unfortunately, as noted in this CONNECT bug, these new checkboxes don’t appear to work. Even when you tick both Send UTF-8 query strings boxes and restart IE, IE fails to update its behavior.

Consider the following URL:

http://webdbg.com/ほむら/?Query=ほむら

On a US-English system, if you paste this URL into IE11’s address bar and hit enter, you can watch in Microsoft Network Monitor and see that the query string has been thunked down to ASCII with the three Unicode characters replaced by three question marks:

image

This problem only applies to the query string; Unicode characters in the path are still sent as %-encoded UTF-8.

In contrast, navigating via Chrome’s Address bar shows expected results:

image

-Eric Lawrence

  • Some discussion on how the querystring is encoded can be found here: stackoverflow.com/.../18220123

  • Thanks for the post. Will this bug be fixed in observed future?

  • @Mikhail: As I don't work for Microsoft any longer, I can't answer that. I assume it will be fixed; follow the progress using the link to the Connect bug above.

Page 1 of 1 (3 items)
Leave a Comment
  • Please add 2 and 3 and type the answer here:
  • Post