Hello again. I've got another question using the api:
One of the params my api receives is the binary representation of an hexadecimal value (the info hash), this parmeter arrives spilled to the $params array.
Diving down the debug, I found that the responsible is getGPCVal method in WebRequest.php, which makes the string go through $data = $wgContLang->checkTitleEncoding( $data ); [l.340] and $data = $this->normalizeUnicode( $data ); [l.343] being therefore altered twice.
I don't know much of Unicode normalization, but I do understand the problem here is it shouldn't be applied on binary data... integer type won't do though, and there is not much more choice... or maybe api types can be extended?
I'm curious about checkTitleEncoding on the other hand. What is it meant for? Could I be lacking mb_check_encoding function and that's why it falls back to 8bit encoding?
I can always use good old $_GET, but I feel I'd rather not. Is it really problematic?
Thanks in advance for any ideas. Numerico