<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx</link><description>A few times a year, I get a question about Internet Explorer's behavior when it comes to downloading files that have non-ASCII characters in the filename, because different browsers have different behavior when handling such files. 
 The server can suggest</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10361944</link><pubDate>Tue, 23 Oct 2012 06:32:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10361944</guid><dc:creator>Sandip</dc:creator><description>&lt;p&gt;Update u are talking about &amp;nbsp;IE9&lt;/p&gt;
&lt;p&gt;Update: IE9 now supports RFC5987/RFC2231 formatted tokens using the UTF-8 character encoding. IE9 prefers the filename* token over the filename token, although, for legacy compatibility, you should send the filename token before the filename* token.&lt;/p&gt;
&lt;p&gt;Still issue persist with IE9.&lt;/p&gt;
&lt;p&gt;Is it fixed with IE9 or next version u talk about?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10361944" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10209518</link><pubDate>Mon, 12 Sep 2011 16:54:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10209518</guid><dc:creator>Julian Reschke</dc:creator><description>&lt;p&gt;In the meantime, the IETF has published RFC 5987 (for encoding parameters in HTTP header fields) and RFC 6266 (about Content-Disposition in HTTP).&lt;/p&gt;
&lt;p&gt;Also, Chrome (with version 9) and Internet Explorer (also with version 9, for UTF-8 only) support the encoding, and Firefox 5 fixed the problem of defaulting to the wrong variant when both are present.&lt;/p&gt;
&lt;p&gt;Opera and Konqueror have been supporting the notation for long.&lt;/p&gt;
&lt;p&gt;Thus, &amp;quot;filename*&amp;quot; (with UTF-8 encoding) can be used interoperably for all current browsers (except the one I didn&amp;#39;t mention above).&lt;/p&gt;
&lt;p&gt;A revision to RFC 5987 is likely to remove the requirement to support ISO-8859-1, in which case IE9 will be &amp;quot;fully&amp;quot; compliant.&lt;/p&gt;
&lt;p&gt;Best regards, Julian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10209518" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10108315</link><pubDate>Wed, 22 Dec 2010 20:51:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10108315</guid><dc:creator>EricLaw [MSFT]</dc:creator><description>&lt;p&gt;Recently, we found a system where download of files with non-ASCII characters in the filename consistently failed. It turns out that the system in question had &amp;quot;short filename generation&amp;quot; disabled on the volume where Temporary Internet Files are stored. This causes an internal failure of the long-filename handling code, and IE will not be able to download files with non-ASCII characters in the name.&lt;/p&gt;
&lt;p&gt;The quick way (on Win7) to see if this is the problem is to run the following command from a command prompt:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; fsutil 8dot3name query C:&lt;/p&gt;
&lt;p&gt;(Where C: is the drive containing your TIF). &amp;nbsp;If the result is &amp;quot;Based on the above two settings, 8dot3 name creation is enabled on C:&amp;quot; then you should not encounter this problem.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10108315" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10067064</link><pubDate>Thu, 23 Sep 2010 22:57:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10067064</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;&amp;quot;largish&amp;quot; is somewhere between 4 and 8%? &amp;nbsp;Hrm...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://en.wikipedia.org/wiki/Usage_share_of_web_browsers"&gt;en.wikipedia.org/.../Usage_share_of_web_browsers&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10067064" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10067060</link><pubDate>Thu, 23 Sep 2010 22:52:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10067060</guid><dc:creator>Julian Reschke</dc:creator><description>&lt;p&gt;Eric.&lt;/p&gt;
&lt;p&gt;peace :-).&lt;/p&gt;
&lt;p&gt;In 2004, FF already had a largish market share, and back then was the only serious contender to IE. This is not &amp;quot;spotty&amp;quot;.&lt;/p&gt;
&lt;p&gt;And no, I don&amp;#39;t want to impose ordering requirements. There are none of these in the proposed spec. What it *does* say is that if you choose &amp;nbsp;a particular ordering, your chances of UAs doing the right thing are better. This is simply a fact, and only relevant until UAs have their parsing related bugs fixed.&lt;/p&gt;
&lt;p&gt;Best regards, Julian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10067060" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10066709</link><pubDate>Thu, 23 Sep 2010 13:29:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10066709</guid><dc:creator>EricLaw [MSFT]</dc:creator><description>&lt;p&gt;I&amp;#39;m not really interested in debating whether &amp;nbsp;or not a browser with tiny (in 2004, at least) marketshare that partially supports a feature if-and-only-if you use it in a particular way &amp;nbsp;(which AFAIK was never documented) constitutes &amp;quot;spotty&amp;quot; support. &amp;nbsp;We can simply agree to disagree. &lt;/p&gt;
&lt;p&gt;As to the latter point, I&amp;#39;ve stated my opinion that imposing arbitrary ordering requirements on HTTP value parameters seems like a sub-optimal design. You&amp;#39;ve suggested that you disagree, and since you&amp;#39;re writing the RFC, not me, I suspect I know how that&amp;#39;s going to turn out. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10066709" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10066563</link><pubDate>Thu, 23 Sep 2010 06:04:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10066563</guid><dc:creator>Julian Reschke</dc:creator><description>&lt;p&gt;Eric,&lt;/p&gt;
&lt;p&gt;Firefox has been supporting &amp;quot;filename*&amp;quot; for over 6 years. Back then, it was the one usable alternative to IE, so I wouldn&amp;#39;t call that &amp;quot;spotty&amp;quot; :-)&lt;/p&gt;
&lt;p&gt;With respect to calling &amp;quot;filename*&amp;quot; problematic: my test cases show that it can be sent to IE today, as long as it&amp;#39;s preceded by &amp;quot;filename&amp;quot;. You know, &amp;quot;same markup&amp;quot; (even though in headers, not HTML).&lt;/p&gt;
&lt;p&gt;Best regards, Julian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10066563" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10066434</link><pubDate>Wed, 22 Sep 2010 22:04:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10066434</guid><dc:creator>EricLaw [MSFT]</dc:creator><description>&lt;p&gt;While the IETF spec may be 13 years old, support for &amp;quot;filename*&amp;quot; has been extremely sparse, at best. My suggestion is merely that using a different token (e.g. &amp;quot;name*&amp;quot;) is more likely to spur adoption than sticking with a known-problematic token.&lt;/p&gt;
&lt;p&gt;If by &amp;quot;temporary&amp;quot; you mean &amp;quot;however many years it takes for users to upgrade to newer browsers&amp;quot; then yes, I think we&amp;#39;re agreed.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10066434" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10066428</link><pubDate>Wed, 22 Sep 2010 21:54:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10066428</guid><dc:creator>Julian Reschke</dc:creator><description>&lt;p&gt;Eric,&lt;/p&gt;
&lt;p&gt;with &amp;quot;duplicating the functionality&amp;quot; I was referring to the fact that the IETF has recommended a way to do this for many years (to be precise, since August 1997), and three browser implementations implement that.&lt;/p&gt;
&lt;p&gt;Adding a new parameter &amp;quot;name*&amp;quot; that works exactly as &amp;quot;filename*&amp;quot; would duplicate functionality that&amp;#39;s already implemented and deployed. It would be an alias (with the usual impact that we would need to think about what happens when both &amp;quot;filename*&amp;quot; and &amp;quot;name*&amp;quot; are present).&lt;/p&gt;
&lt;p&gt;It would certainly be *easier* to simply have a single approach. &lt;/p&gt;
&lt;p&gt;That ordering would become significant certainly is a drawback, but it would be only a temporary workaround. From that point of view, I don&amp;#39;t think it&amp;#39;s something to be concerned about.&lt;/p&gt;
&lt;p&gt;Best regards, Julian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10066428" width="1" height="1"&gt;</description></item><item><title>re: Downloads and International Filenames</title><link>http://blogs.msdn.com/b/ieinternals/archive/2010/06/07/content-disposition-attachment-and-international-unicode-characters.aspx#10066419</link><pubDate>Wed, 22 Sep 2010 21:35:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10066419</guid><dc:creator>EricLaw [MSFT]</dc:creator><description>&lt;p&gt;I&amp;#39;m not aware of other features that impose ordering requirements on HTTP header tokens. The problem goes away if the &amp;quot;new&amp;quot; token does not contain a string match for the &amp;quot;old&amp;quot; token. I have no idea what &amp;quot;duplicating the functionality&amp;quot; means.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10066419" width="1" height="1"&gt;</description></item></channel></rss>