From: Matthieu Moy Date: Wed, 08 Jun 2011 16:27:35 GMT Subject: Re: Git-mediawiki : Encoding problems in perl Message-ID: In-Reply-To: Jérémie NIKAES writes: > 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/