Page MenuHomePhabricator

osm4wiki character encoding for Swedish characters has stopped working
Open, Needs TriagePublicBUG REPORT

Description

[https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=sv&article=Kategori%3AHerrg%25C3%25A5rdar_i_S%25C3%25B6dermanland link]

The above links gives a page with a map with markers to the right and a corresponding list of articles to the left.
The newly discovered problem is that the links to the articles in the list does not work when they contain Swedish characters like å, ä and ö.

Steps to Reproduce:

Click on the link above.

Actual Results:

It looks like the Swedish character "ä" has been encoded as %C3%83%C2%A4 instead of %C3%A4
This makes all links to articles with Swedish letters don't work any longer.

Expected Results:

All links, also to article with Swedish letters should be encoded so that they will lead to the correct page when you click on them.
In this case I would expect the link to be https://sv.wikipedia.org/wiki/Abbotn%C3%A4s

Is there any missing "language" or "encoding" parameter that should be given in the call to osm4wiki? It has not been needed before.

Event Timeline

Larske created this task.Jun 25 2019, 9:36 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 25 2019, 9:36 AM
Larske updated the task description. (Show Details)Jun 25 2019, 9:44 AM
Larske updated the task description. (Show Details)Jun 25 2019, 9:52 AM
Larske renamed this task from osm4wiki characted encoding for Swedish characters has stopped working to osm4wiki character encoding for Swedish characters has stopped working.Jun 25 2019, 10:01 AM
Aklapper added subscribers: Plenz, Kolossos.

https://tools.wmflabs.org/admin/tools lists @Kolossos and @Plenz as maintainers, hence subscribing. (If there is a better place to report bugs, please let us know.)