[Mediawiki-l] Encoding issues

Platonides Platonides at gmail.com
Fri Sep 25 11:14:41 UTC 2009


Javier Bezos escribió:
> Hi all,
> 
> We have hired an external service to update our system from
> 1.11 to 1.14. After many delays (which explains why 1.14 and
> not 1.15), now it's a mess because at many places accented
> characters looks as if they were unencoded UTF-8 characters
> (ie, ó is not an unencoded ó, but the two UTF-8 encoded
> chars à and ³). Examples are:
> 
> http://www.wikilengua.org/index.php/Propiedad:Norma_UNE_(Terminesp)
> http://www.wikilengua.org/index.php/Special:UnusedImages
> 
> Mainly in order to complain, any idea of why this mess? Is
> there a way fix it?
> 
> (Semantic MW has stopped working properly, too :-().
> 
> Thanx
> Javier Bezos
> --------------------------------------
> http://www.wikilengua.org/

Hola Javier,
MediaWiki guarda *siempre* el texto en UTF-8. Pero en ocasiones mysql se
cree que el texto está en otro formato. Esto no es ningún problema para
MediaWiki, que sabe cómo tiene que tratarlos, pero puede dar problemas
si se editar directamente la tabla o al hacer copias de seguridad con
mysqldump.
Por lo que comentas, parece que han actualizado el formato en la base de
datos a UTF-8 pero sin avisar a MediaWiki. Prueba a añadir $wgDBmysql5 =
false; a LocalSettings.php
Si cambiar el valor de $wgDBmysql5 no lo arregla, seguramente tendrás
que hacer un volcado, recodificarlo e importarlo de nuevo en mysql.




More information about the MediaWiki-l mailing list