You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Francisco Ruiz Ibañez <fl...@comunet.es> on 2006/05/10 17:57:09 UTC

[users@httpd] Accents problem with Apache 2 under windows

Hi All,
	Recently, I have upgraded from apache_1.3.33 to apache_2.0.54, under
windows plattform. The problem occurs accesing urls with accents from
mozilla browser.

	Mozilla converts url http://localhost/sól.htm to http://localhost/s%F3l.gif
and apache 2 returns and error. Althought Internet explorer retains url and
show the page correct.

What can I do?

Regards


----------------------------------------------------------------------------


Este  correo  electrónico  contiene  información  privada  que puede estar legalmente   protegida,   parcial  o  totalmente.  Es  sólo  para  uso  del destinatario  al  que está dirigido. Si ha recibido este mensaje por error, le rogamos que lo notifique al remitente del email y que además borre de su sistema  el  mensaje  así  como  todas  sus copias, incluyendo las posibles copias  del  mismo  en  su  disco  duro,  y  se  abstenga de usar, revelar, distribuir  a  terceros,  imprimir  o  copiar ninguna de las partes de este mensaje.


Los datos personales  que pueda contener el presente mensaje, ya sea en su contenido o en los  destinatarios, cumplen  con lo  establecido  en la Ley Orgánica  15/1999, de 13  de diciembre, de Protección Datos de Carácter Personal.


----------------------------------------------------------------------------


This  e-mail  contains proprietary information some or all of which may be legally  protected.  It  is for sole use of the intended recipient only. If you  have received this message by mistake, you are requested to notify the e-mail  sender  and erase both the message and any copies from your system, including  hard  disk  copies.   You  are further requested to refrain from using,  distributing  to  third  parties,  printing or making copies of any parts of this message.


The personal data that may  appear in this e-mail message are in accordance with the Organic Law  15/1999 of  13 December on the Protection of Personal Data.


----------------------------------------------------------------------------



[users@httpd] Re: UTF-8 (was Accents problem with Apache 2 under windows)

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
It's a localization issue.  1.3.x used your local code page, whatever that
might have been.  Move files to another machine configured differently, and
they wouldn't be served.

2.0.x uses unicode file names - whatever filename you see in the file explorer
is exactly what you see on the site.  Most URL's are now utf-8 by convention;
this convention extends to httpd 2.0 on Windows (and on unix, but only by virtue
that most unixes use utf-8 now to store unicode file names).

If you access your file using s%C3%B3l.gif all will be well, that's the utf-8
unicode representation no matter -how- your system is locally configured.  And
almost every modern browser, IE, Firefox etc will understand such names.  You
can have an english system serving chinese character file names for example.
Since NTFS uses doublebyte character sets to store file names, using utf-8 names
on systems like Windows, Mac OSX and similar modern systems offers the most
flexibility.  Even DAV uses utf-8 for communicating file names back and forth,
if you author your website by using DAV to sync it.

Unfortunately, as you noticed, there can be an initial frustration period. 
Sorry about that :(  The -simple- way to find the translation is to just
explore your web site with mod_autoindex (don't set a default web page and
let Options Indexes list the document files) - and those links will give you
the encoding with no hassle at all.


Emmanuel E wrote:
> It converts to .gif??? Does  http://localhost/s%F3l.htm work?
> 
> Francisco Ruiz Ibañez wrote:
> 
>>Hi All,
>>	Recently, I have upgraded from apache_1.3.33 to apache_2.0.54, under
>>windows plattform. The problem occurs accesing urls with accents from
>>mozilla browser.
>>
>>	Mozilla converts url http://localhost/sól.htm to http://localhost/s%F3l.gif
>>and apache 2 returns and error. Althought Internet explorer retains url and
>>show the page correct.
>>
>>What can I do?
>>
>>Regards
>>
>>
>>----------------------------------------------------------------------------
>>
>>
>>Este  correo  electrónico  contiene  información  privada  que puede estar legalmente   protegida,   parcial  o  totalmente.  Es  sólo  para  uso  del destinatario  al  que está dirigido. Si ha recibido este mensaje por error, le rogamos que lo notifique al remitente del email y que además borre de su sistema  el  mensaje  así  como  todas  sus copias, incluyendo las posibles copias  del  mismo  en  su  disco  duro,  y  se  abstenga de usar, revelar, distribuir  a  terceros,  imprimir  o  copiar ninguna de las partes de este mensaje.
>>
>>
>>Los datos personales  que pueda contener el presente mensaje, ya sea en su contenido o en los  destinatarios, cumplen  con lo  establecido  en la Ley Orgánica  15/1999, de 13  de diciembre, de Protección Datos de Carácter Personal.
>>
>>
>>----------------------------------------------------------------------------
>>
>>
>>This  e-mail  contains proprietary information some or all of which may be legally  protected.  It  is for sole use of the intended recipient only. If you  have received this message by mistake, you are requested to notify the e-mail  sender  and erase both the message and any copies from your system, including  hard  disk  copies.   You  are further requested to refrain from using,  distributing  to  third  parties,  printing or making copies of any parts of this message.
>>
>>
>>The personal data that may  appear in this e-mail message are in accordance with the Organic Law  15/1999 of  13 December on the Protection of Personal Data.
>>
>>
>>----------------------------------------------------------------------------
>>
>>
>>  
>>
>>------------------------------------------------------------------------
>>
>>---------------------------------------------------------------------
>>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
>>
> --------------------------------------------------------------------- 
> The official User-To-User support forum of the Apache HTTP Server 
> Project. See 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

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