[Tile-serving] [openstreetmap/osm2pgsql] Garbled data in the tags field ('name' tags with accents). (Issue #1893)

mboeringa notifications at github.com
Wed Jan 18 23:22:46 UTC 2023


<!-- Please don't use screenshots. Copy and paste the *text* output here if that's needed for context. -->

## What version of osm2pgsql are you using?
1.7.2 (1.7.0-236-g8b9eedc9)

<!-- Paste output of `osm2pgsql --version` here. Please use the [latest
release](https://osm2pgsql.org/releases/) of osm2pgsql if at all
possible. -->


## What operating system and PostgreSQL/PostGIS version are you using?

Ubuntu 22.01.4 LTS with latest updates. PostgreSQL 15.1
<!-- Also what Linux distribution if applicable, OS version? -->


## Tell us something about your system

<!-- How much RAM do you have, how many CPUs, bare metal or cloud setup? -->


## What did you do exactly?

Import Italy extract of Geofabrik

<!-- Please provide the command(s) you used including all options etc. Include
links to input files. -->


## What did you expect to happen?

Data is properly imported
<!-- Describe in detail what you expected the above would do. -->


## What did happen instead?

Data in the 'tags' field is garbled. Special characters do not come over properly, e.g. https://www.openstreetmap.org/node/3225272477#map=19/46.05451/9.43078
is an example node, in this area of the Italian Alps there are many more.

<!-- Please describe what happened and why you think this is wrong. Please include
(or link to, if it is too verbose) the log output. -->


## What did you do to try analyzing the problem?
Looked in the 'planet_osm_point' table:

![afbeelding](https://user-images.githubusercontent.com/7635726/213316303-a1b66b68-c016-451d-afc3-7c7b851c98f5.png)

<!-- Describe what steps you already did to try analyzing the problem before
reporting. -->



-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1893
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1893 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230118/3149f417/attachment.htm>


More information about the Tile-serving mailing list