Skip to content
Snippets Groups Projects
Unverified Commit cf202913 authored by shackrat's avatar shackrat Committed by GitHub
Browse files

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.
parent 71a93298
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment