[pmwiki-users] accent and url

Guillermo Calderon - INCO calderon at fing.edu.uy
Fri Jun 29 12:25:50 CDT 2007


malexism at free.fr wrote:
> Hello,
> 
> this is a problem I saw before, and it is related to a PHP update on the 
> server. Urls with accents, like :
> 
> http://www.adiu.fr/a/index.php/ZéroDeFréquence
> or
> http://www.adiu.fr/a/index.php/Z%e9roDeFr%e9quence
> are displayed like this
> http://www.adiu.fr/a/index.php/ZRoDeFrQuence
> and of course with the "?action=edit" because they don't exist.
> 
> I'm sorry, but i don't remember the solution you found before...
> 
> marc

I have similar problems with acute accents (my native language is 
spanish).

I solve this problem as follows:

* In config.php :

    $language='es';
    XLPage('es','PmWikiEs.XLPage');

* In PmWikiEs.XLPage

   'Locale' => 'es_UY.ISO8859-1'

In order to find out what is the correct locale, you have to execute 
the command "locale -a"  on your server.
(unix server, I do not known how to do in a windows server)




More information about the pmwiki-users mailing list