From cf202913009bf21767a54520f89b393325f30a8c Mon Sep 17 00:00:00 2001 From: shackrat <srwhite@me.com> Date: Thu, 18 Aug 2022 00:55:42 -0400 Subject: [PATCH] Update README.md Added ENCODING 'UTF8'; in the CREATE DATABASE statement for new installs of Postgres which may default to use ascii as the character set. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c04d4f6..4afe9e6 100644 --- a/README.md +++ b/README.md @@ -102,9 +102,9 @@ git clone https://github.com/qvarforth/trackdirect #### Set up database -Set up the database (connect to database using: "sudo -u postgres psql"). You need to replace "my_username". +Set up the database (connect to database using: "sudo -u postgres psql"). You need to replace "my_username". Note that APRS using UTF-8 encoding so it may be necessary to specify as shown. ``` -CREATE DATABASE trackdirect; +CREATE DATABASE trackdirect ENCODING 'UTF8'; CREATE USER my_username WITH PASSWORD 'foobar'; ALTER ROLE my_username WITH SUPERUSER; -- GitLab