X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b6df4865251eb11db4bd4b0b1f35ae8455440be9..1a64c3bfcd6f46506b7101d9943dbc297be25f10:/docs/admin/Faq.md?ds=sidebyside diff --git a/docs/admin/Faq.md b/docs/admin/Faq.md index 7730c6c5..efcd5741 100644 --- a/docs/admin/Faq.md +++ b/docs/admin/Faq.md @@ -142,6 +142,25 @@ Make sure you have the PostgreSQL extensions "hstore" and "postgis" installed. See the installation instructions for a full list of required packages. +### UnicodeEncodeError: 'ascii' codec can't encode character + +Make sure that the operating system's locale is UTF-8. With some prebuilt +images (e.g. LXC containers from Proxmox, see +[discussion](https://github.com/osm-search/Nominatim/discussions/2343)) or +images that optimize for size it might be missing. + +On Ubuntu you can check the locale is installed: + +``` + grep UTF-8 /etc/default/locale +``` + +And install it using + +``` + dpkg-reconfigure locales +``` + ### I forgot to delete the flatnodes file before starting an import. That's fine. For each import the flatnodes file get overwritten.