Unicode in URL changes for IE11

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:

https://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