March 2020
Intermediate to advanced
608 pages
17h 17m
English
In PostgreSQL, the default server encoding is already UTF-8, but if you want to explicitly create a PostgreSQL database with UTF-8 encoding, then you can do that with the following command:
$ createdb --encoding=UTF8 --locale=en_US.UTF-8 --template=template0 myproject