https://bugzilla.wikimedia.org/show_bug.cgi?id=31918

--- Comment #8 from Fomafix <[email protected]> 2012-07-01 12:43:19 UTC ---
I see three possibilities to solve the problem

* Implement in JavaScript the same decoder like in PHP. So
mw.util.getParamValue() tries to decode as ISO 8859-1 when UTF-8 decoding
fails.
* MediaWiki answers with 301 Moved Permanently and Location in UTF-8 encoding.
So the URL gets normalized.
* The parameters gets normalized in PHP and transfered to JavaScript via wiki
global variable. mw.util.getParamValue() use the normalized parameters from
this variable instead of the URL.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to