Opened 7 months ago
Last modified 2 weeks ago
#3728 assigned defect
Showing community events is not working for some cities
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | API | Keywords: | needs-patch |
Cc: |
Description
Hi,
I just found that entering the german city of Gießen shows the events correctly, but not the name of the city, it will be shown as Giesen
Taking it a step further with the city of Bad Gottleuba-Berggießhübel it will only show Bad, which is bad ;)
After talking to @obenland he said it will be recognized by the API as Bad Gottleuba-Berggießhübel
I tested some more cities having the ß character and such, but they were ok so far.
Attachments (2)
Change History (9)
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
7 months ago
#5
@
2 weeks ago
I found another glitch using 5.1-beta3-44723, local installation:
Entering Hamburg I get results for Hambûrg!
#7
@
2 weeks ago
IIRC this is mostly expected as we use the "primary" name for a city in the response (which is mostly English-centric AFAIK) but many lookups of non-ascii cities actually match in the "alternative names" which results in the returned data differing from the searched data.
To fix this I believe we'd want to change the data-source it's looking up against.
I'm happy to look at this next week. Any other major special characters to account for @obenland?