Re: Git-mediawiki : Encoding problems in perl
Jérémie NIKAES <jeremie.nikaes@gmail.com> writes:
Show 9 quoted lines
> Yes I tried uri_escape, but that only works in the direction mediawiki -> git.
> A page named "Eté" on mediawiki comes as a Et%C3%A9.mw file on the repo.
> However, when I try to send that file "Et%C3%A9" with the mediawiki
> API, I get this error
>
> "Can't use an undefined value as a HASH reference at
> /usr/local/share/perl/5.10.1/MediaWiki/API.pm line 554."
>
> So I tried to backslash the '%' but it does not do it...
What if you uri_unescape before sending to MediaWiki?
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/