-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSM: encoding not correct #8289
Comments
I bet that this is not a bug but what you see comes from the locale settings of your computer. See this:
Then check your Windows codepage (my locale is Finnish) and change the codepage into UTF-8 (65001)
Try again
|
Thanks, works for me, too.
The XML Prolog in the file has
so shouldn't |
There may be a bug in QGIS but I could not reproduce qgis/QGIS#48328 with QGIS 3.32.2. |
Thanks, seems to be related to the used system encoding and how QGIS handles it - not a GDAL issue. |
Expected behavior and actual behavior.
OGR uses UTF-8 as encoding for OSM data but instead it uses something else so some chars are not correctly encoded, e.g.
ö
, example:Astrid-Lindgren-Förderschule
becomesAstrid-Lindgren-F├Ârderschule
.Prolog:
Steps to reproduce the problem.
ogrinfo test.osm multipolygons
(sample data: test.zip)-> some values for
name
are not correctly encoded,e.g.Operating system
Windows 10 Version 1809
GDAL version and provenance
3.6.4 and 3.7.1 from OSGeo4W
Likely related issues
qgis/QGIS#48328
3liz/QuickOSM#369
The text was updated successfully, but these errors were encountered: