Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the UTF8 collation on PostgreSQL running on WIndows

Joe Olinger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2019

I am running Windows 10 PostgreSQL 9.6 and confluence 7.x.x.  How do I the collation to be en_US.UTF8?

1 answer

0 votes
Stan Ry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2019

Hi Joe,

Try this:

CREATE DATABASE "example_db"
WITH OWNER "postgres"ENCODING 'UTF8'LC_COLLATE = 'en_US.UTF-8'LC_CTYPE = 'en_US.UTF-8'TEMPLATE template0;

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events