nginx/0.6.26<br><br><br><br><div class="gmail_quote">2008/5/21 Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Wed, May 21, 2008 at 04:50:39PM +0300, Денис Юзвик wrote:<br>
<br>
&gt; День добрый,<br>
&gt; при попытке скачать файл с русским названием, в диалоге сохранения файла в<br>
&gt; IE7 вместо нормального имени - абра-кадабра.<br>
&gt; В чем причина?<br>
&gt;<br>
&gt; Есть перл который делает:<br>
&gt;<br>
&gt; &nbsp; &nbsp; $r-&gt;header_out(&quot;Content-Disposition&quot;, &quot;attachment; filename=....&quot;);<br>
&gt; &nbsp; &nbsp; $r-&gt;internal_redirect(&quot;dllocation/.....&quot;);<br>
&gt;<br>
&gt; В конфиге:<br>
&gt; &nbsp; default_type &quot;application/octet-stream; charset=utf-8&quot;;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;location /dllocation {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root ....;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; location / {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;perl &nbsp;perl::func;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>
&gt;<br>
&gt; Хедеры:<br>
&gt;<br>
&gt; HTTP/1.1 200 OK<br>
&gt; Server: nginx/0.6.26<br>
&gt; Date: Wed, 21 May 2008 13:46:59 GMT<br>
&gt; Content-Type: application/octet-stream; charset=utf-8<br>
&gt; Content-Length: 40019247<br>
&gt; Last-Modified: Wed, 21 May 2008 11:12:44 GMT<br>
&gt; Connection: close<br>
&gt; Content-Disposition: attachment; filename=&quot;abra-kadabra-filename&quot;<br>
&gt; Accept-Ranges: bytes<br>
<br>
</div></div>Версия nginx&#39;а ?<br>
<font color="#888888"><br>
<br>
--<br>
Игорь Сысоев<br>
<a href="http://sysoev.ru" target="_blank">http://sysoev.ru</a><br>
<br>
</font></blockquote></div><br>