You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Wouter Van Hemel <wo...@pair.com> on 2003/05/07 04:11:02 UTC

[users@httpd] utf encoding

Hello all,

I have a big problem serving files with foreign characters in the
filename. Image files with umlauts and other extended ascii charaters
don't show up in some browsers.

A small example:

<html>
  <head>
    <meta http-equiv="Content-Type" CONTENT="text/html; charset=iso-8859-15">
        <title>hello</title>
  </head>

  <body>
    <img src="bläh.jpg">
  </body>
</html>

( There is an umlaut in the filename of the image )

The image shows up in mozilla/netscape based browsers, but IE 4.x requests
this filename in such a way that apache returns a 404 - file not found:

[Wed May  7 02:22:46 2003] [error] [client 192.168.196.5] File does not
exist: /usr/home/www/html/fi/blëh.jpg

From my limited understanding, it seems that IE uses UTF-16 encoding or
something and Apache doesn't seem understand what it's asking...

Why can Apache find this file with certain browsers and not with other
browsers? How can I make sure this file is found by apache no matter which
encoding is used in the url as sent by the browser?


TIA,

  wouter


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org