From a1cc17094d2060336b7fa29d2d91deb7441740eb Mon Sep 17 00:00:00 2001 From: Fabian <11352551+fabm3n@users.noreply.github.com> Date: Tue, 1 Jun 2021 13:57:30 +0200 Subject: [PATCH] Docs: Note to use UTF8 in PostgreSQL #2096 (#2103) * Docs: Note to use UTF8 in PostgreSQL #2096 * Docs: Same like 288f85b but for Docker docs --- doc/admin/installation/docker_smallscale.rst | 7 ++++++- doc/admin/installation/manual_smallscale.rst | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/admin/installation/docker_smallscale.rst b/doc/admin/installation/docker_smallscale.rst index 3c7ea6797..acd402948 100644 --- a/doc/admin/installation/docker_smallscale.rst +++ b/doc/admin/installation/docker_smallscale.rst @@ -58,7 +58,12 @@ Database -------- Next, we need a database and a database user. We can create these with any kind of database managing tool or directly on -our database's shell. For PostgreSQL, we would do:: +our database's shell. Please make sure that UTF8 is used as encoding for the best compatibility. You can check this with +the following command:: + + # sudo -u postgres psql -c 'SHOW SERVER_ENCODING' + +For PostgreSQL database creation, we would do:: # sudo -u postgres createuser -P pretix # sudo -u postgres createdb -O pretix pretix diff --git a/doc/admin/installation/manual_smallscale.rst b/doc/admin/installation/manual_smallscale.rst index 77b18bf57..54b07bb77 100644 --- a/doc/admin/installation/manual_smallscale.rst +++ b/doc/admin/installation/manual_smallscale.rst @@ -51,7 +51,12 @@ Database -------- Having the database server installed, we still need a database and a database user. We can create these with any kind -of database managing tool or directly on our database's shell. For PostgreSQL, we would do:: +of database managing tool or directly on our database's shell. Please make sure that UTF8 is used as encoding for the +best compatibility. You can check this with the following command:: + + # sudo -u postgres psql -c 'SHOW SERVER_ENCODING' + +For PostgreSQL database creation, we would do:: # sudo -u postgres createuser pretix # sudo -u postgres createdb -O pretix pretix