In article <c0bu5l$7rb$1@planja.arnes.si>,
"Gregor Traven" <gregor.traven.DeleteThis@guest.arnes.si> wrote:
> Hi
>
> I'm from Slovenia and our writing includes characters such as c, s, z (I
> don't even know if you got them right but it doesn't matter). The
> corresponding
> charset for this
> writing is WINDOWS-1250. I'm serving some files to people from my apache but
> the names of the files didn't appear correctly in browsers until I wrote the
> directive: AddDefaultCharset WINDOWS-1250 into httpd.conf. Now the
> characters appear correctly.
>
> My problem is that when somebody downloads these files, the pop up with
> save/open/cancel appears but now the characters c, s, z are replaced by
> something like %9e or -e8 or are simply left out. So, a user can't save the
> file automatically with it's true name. I've tried this with opera and
> iexplore and they both have this problem.
>
> Is there anything I can do with apache that would fix this?
> Thanks very much for the answers.
as far as I can say, you just can't do anything about that. The HTTP
protocol requires that URL are encoded with 7bit characters.
You add Charset directives so that the content of your documents is
interpreted correctly by the http client (and then, if a link aim at a
file name with caracters belonging to this particular charset, the link
will be correctly followed by the client).
You can't change HTTP protocol via charset directives, so the name of
the file is encoded.
patpro
--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: changing charset for downloading files