When doing an api query that could return binary data (icu sortkeys for example), if the binary data isn't valid utf-8 (which will happen most of the time) it will output an empty string instead.
Expected output is a big long binary string.
This is rather confusing when trying to debug stuff, although arguably much of the time this behaviour does kind of make sense. Anyways, caused by ApiResult::cleanUpUTF8.
Version: 1.18.x
Severity: enhancement
URL: http://translatewiki.net/w/api.php?action=query&list=categorymembers&cmprop=sortkey&cmtitle=Category:User%20en&cmlimit=1