- Django 3 Web Development Cookbook
- Aidas Bendoraitis Jake Kronika
- 40字
- 2025-04-04 13:15:07
There's more...
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