Skip to content

Commit

Permalink
Merge pull request #3491 from mtmail/faq-unicode-encoding
Browse files Browse the repository at this point in the history
Admin FAQ entry for UnicodeEncodeError
  • Loading branch information
lonvia authored Jul 29, 2024
2 parents bc75e56 + 04a3f39 commit 507c028
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/admin/Faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 507c028

Please sign in to comment.