[Tile-serving] [openstreetmap/osm2pgsql] Check that database is using UTF-8 encoding (PR #1839)
Paul Norman
notifications at github.com
Tue Nov 29 08:44:23 UTC 2022
> 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.
Looks okay after testing. I didn't realize that pg_settings was per-DB.
> Do we ever had problems with that? We could simply set the client_encoding in the connection string.
We probably should if we're worried about non-UTF8 encodings.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1839#issuecomment-1330280183
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1839/c1330280183 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221129/c923a569/attachment-0001.htm>
More information about the Tile-serving
mailing list