You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonathan Martineau <Jo...@travail.gouv.qc.ca> on 2003/11/11 21:14:15 UTC

[users@httpd] Hello all , right now im stuck with a strange problem and i would appreciate any help with this one.

Hello all , right now im stuck with a strange problem and i would appreciate any help with this one.  Usualy im good to  find it by myself, but this one is really hard.  

I have a problem with special character in link associted with PDF.  This problem is easily reproductible.

1 - I install a fresh Apache 1.3.29 (apache_1.3.29-win32-x86-src.msi) on a Windows Xp Pro.
2 - Add these link in a page 

<A HREF="http://127.0.0.1/Décision_07_05_1995.pdf">PDF test with accent</A>

<A HREF="http://127.0.0.1/Decision_07_05_1995.pdf">PDF test without accent</A>
<A HREF="http://127.0.0.1/téteux.txt">TXT test with accent</A>

The "PDF test with accent" will not display. I will got a empty page and the PDF plugin will not fire ( the acrord32.exe wont start ).
But the "PDF test without accent" and "TXT test with accent" will show as expected...

Its a default install without any change on the config files.  is it the Browser pdf plugin fault? or is it a charset  problem with Mod_mime ? any though 

Thank in advance

John


---------------------------------------------------------------------
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


Re: [users@httpd] Hello all , right now im stuck with a strange problem and iwould appreciate any help with this one.

Posted by Robert Andersson <ro...@profundis.nu>.
Jonathan Martineau wrote:
> http://127.0.0.1/Décision_07_05_1995.pdf

I think you are better off if you URL encode that filename, so it is
replaced by the ASCII code for the character on the particular OS Apache is
running on. In this case, it might be "D%e9cision_07_05_1995.pdf".

Regards,
Robert Andersson


---------------------------------------------------------------------
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