James M Safley wrote:
The 'Æ' character should be encoded in UTF-8 as %C3%86, %C6 is in iso-8859-1.
Then it seems that Zend Framework's HTTP client library or PHP's http_build_query() function is incorrectly encoding the string,
since the 'Æ' I'm passing is indeed UTF-8.
Are you sure? What's the output of base64_encode('Æ') ?
Eric Brown wrote:
Perhaps MySQL is defaulting to Latin1? It supports Unicode, but it isn't quite as easy as one might hope.
Mysql is not involved on this. He's interfacing with mediawiki using http.