<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Verdana">Sorry, PHP is 5.3.10 on Ubuntu,
5.0.4 on Fedora.<br>
<br>
</font></font>
<div class="moz-cite-prefix">On 09/27/2013 08:18 AM, Leandro Fanzone
wrote:<br>
</div>
<blockquote cite="mid:52456980.4040904@hasar.com" type="cite">Hello,
I have an installation of pmwiki on a Fedora Core 4 server, and I
decided to migrate it to Ubuntu 12.04. As I did not want to
install pmwiki again, I just copied /var/www to the new machine
and installed Apache + PHP. As a result, some pages that had
titles with Spanish letters (á, ñ, etc.) cannot be accessed
anymore. I see that the files do exist (albeit they have the
special letters changed somehow) but when I try to open those
pages pmwiki cannot find them. For example: a page called
"Documentación" exists in the filesystem as "Documentaci?n", but
pmwiki tries to access it as "DocumentaciN". It seems an encoding
problem, apparently the contents are stored in Latin1
(ISO-8859-1), and in the filenames sometimes the special letters
were changed with ? and sometimes they keep the Latin1 letter, but
for some reason pmwiki does not generate the same filename as
before to access them. I am completely lost, I don't know if this
is a configuration problem of PHP, of Apache, of the LANG
variable... so, in short:
<br>
<br>
The pmwiki version is the same on both installations (one
installed manually; the other, just copied the /var/www
directory): 2.1.19.
<br>
PHP is 2.3.0 on Ubuntu, and 2.0.4 on Fedora.
<br>
Apache is 2.2.22 on Ubuntu, and 2.0.54 on Fedora.
<br>
LANG is es_ES.utf8 on Ubuntu, en_US.utf8 on Fedora.
<br>
<br>
Any ideas of where could I possibly find the source of this
disagreement? It does not seem a problem of pmwiki settings
because all the files (including the configuration files) were
copied verbatim from one server to the other. I suspect something
changed in some defaults behaviour about handling the encoding of
filenames, probably in PHP, but I am completely ignorant in that
field. I think I can just change every filename to match pmwiki,
but on one hand that implies a lot of work, and on the other, the
titles that has special characters are changed as well, which
looks horrible.
<br>
Thank you in advance!
<br>
<br>
<br>
_______________________________________________
<br>
pmwiki-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>