kmlexport tool encoding problem
Open, Needs TriagePublic


Hello, kmlexport tool is broken. For too many articles on Czech Wikipedia it produces broken KML file (with wrong encoding). Because it is used by some other map tools, these tools for those articles are broken too. You can see the broken result for the following example articles:

Also you can look on the Mapa souřadnic (GeoGroup) template in these pages, what kmlexport output looks like in some derived map tools getting the result from the tool. osm4wiki for OpenStreetMap can show the broken result, but with broken encoding, but mapycz for Windymaps and wm-world for Google Maps are broken at all (even can not show a map, which is shown when empty KML file is used).

Could somebody please help? It does not work correctly on 50 % of articles. I asked the author, but he isn't very active and after a month there is still no response, Perhaps he'll answer here. As there is no other tool, which could extract all coordinates from an article, fixing this tool is crucial for the Czech Wikipedia (and maybe some others).

I think the issue can be in two things: Maybe some Toolforge settings related to Perl, cronjob, webserver, article access or kmlexport changed and the encoding handling is different than in the past. Or maybe there is some encoding issue inside tool's source code – published under WTFPL (T92963#2265237) license (Tools). This is why I added both tags, is that right?

Dvorapa created this task.Feb 17 2018, 5:56 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 17 2018, 5:56 PM
Dvorapa updated the task description. (Show Details)Feb 17 2018, 6:01 PM
Dvorapa updated the task description. (Show Details)
Dvorapa added subscribers: Kolossos, rafidaslam, Teslaton.
Andrew added a subscriber: Andrew.Mon, Feb 19, 7:17 PM

The tags look ok to me, and you've already added @Para to the cc's, so now we just need them to respond. If @Para does not respond you also have the option of invoking the abandoned tools policy ( and taking up the work yourself.

Restricted Application added a subscriber: Zoranzoki21. · View Herald TranscriptMon, Mar 5, 11:32 PM