[Tile-serving] [openstreetmap/osm2pgsql] Check that database is using UTF-8 encoding (PR #1839)

Jochen Topf notifications at github.com
Tue Nov 29 08:37:38 UTC 2022


> This change will check the server encoding, not the database encoding.

Is there a difference? When I create a database with `createdb -E xxx`, the settings returned for `server_encoding` is `xxx`, so I believe this is the correct way of checking the encoding.

> Do we want to consider client encoding at all?

Do we ever had problems with that? We could simply set the `client_encoding` in the connection string.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1839#issuecomment-1330271865
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1839/c1330271865 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221129/92cae3dd/attachment.htm>


More information about the Tile-serving mailing list