Bug 509078 - [wetter.com] Polish Ł not displayed correctly
Summary: [wetter.com] Polish Ł not displayed correctly
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Weather widget (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-03 16:20 UTC by Alice Glass
Modified: 2025-09-04 12:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The bug (22.19 KB, image/png)
2025-09-03 16:20 UTC, Alice Glass
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Glass 2025-09-03 16:20:18 UTC
Created attachment 184682 [details]
The bug

The Polish letter Ł is displayed as mojibake in the widget interface. This is not an issue of the data provider. 


STEPS TO REPRODUCE
1. Search for a weather station with ł in its name (for example, "Kołobrzeg")
2. Add it.
3. Check the data provider - for Kołobrzeg https://www.wetter.com/polen/kolobrzeg/PL3095795.html the city name is displayed correctly

OBSERVED RESULT
There is mojibake text instead of Ł.

EXPECTED RESULT
There should be an Ł.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.15.11-hardened1-1-hardened (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Ismael Asensio 2025-09-04 12:16:24 UTC
Thank you for your bug report and the quality.

Unfortunately yes, this is a provider issue. The free wetter.com API we still can use (but it's already deprecated) is a legacy one that doesn't correspond to what their web site shows.

The API calls return XML files, which claim to be UTF-8 encoded, but this doesn't hold for the codification of the Polish ł :

Search: https://api.wetter.com/location/index/search/obrzeg/project/weatherion/cs/608bf2a1f0afc12cf34ceddf363ec14d
Forecast: https://api.wetter.com/forecast/weather/city/PL3095795/project/weatherion/cs/bba0298a75e8f468c4fa136091c727c1

<?xml version="1.0" encoding="UTF-8"?>
<city>
  <city_code>PL3095795</city_code>
  <name>KoÃobrzeg</name>
  <post_code/>

This provider is discouraged due to this and other issues that can offer subpar experience, but kept alive for now only for its extensive coverage. At least until other full coverage providers are implemented (which is on the way).