I'm configuring PostgreSQL db for the Bitbucket Server on Windows. In the official guide it says that:
The database must be configured to use the UTF-8 character set.
It doesn't strictly say that you have to set collation to UTF-8, but for other atlassian procucts it's recommended so I assume that's the same case for Bitbucket Server. Exmaple from Confluence documentation:
- Character encoding must be set to utf8 encoding.
- Collation must also be set to utf8. Other collations, such as "C", are known to cause issues with Confluence.
This is what I have now, the problem is that it sets the collation to English_United States.1252:
CREATE DATABASE test
WITH OWNER "postgres"
ENCODING 'UTF8'
LC_COLLATE = 'american_usa'
LC_CTYPE = 'american_usa'
TEMPLATE template0;
Is setting collation to UTF-8 actually necessary and if yes, how can I do it?