Skip to content

Change database encoding from UNICODE (alias) to UTF8 in INSTALL - #10189

Open
randolf wants to merge 1 commit into
roundcube:release-1.6from
randolf:patch-1
Open

Change database encoding from UNICODE (alias) to UTF8 in INSTALL#10189
randolf wants to merge 1 commit into
roundcube:release-1.6from
randolf:patch-1

Conversation

@randolf

@randolf randolf commented May 24, 2026

Copy link
Copy Markdown

Updated database creation command to specify UTF8 encoding instead of UNICODE encoding (UNICODE is just an alias for UTF8) and added a note about why the encoding is specified (even though it's not needed in most modern environments where UTF8 is usually the default).

Updated database creation command to specify UTF8 encoding instead of UNICODE encoding (UNICODE is just an alias for UTF8) and added a note about why the encoding is specified (even though it's not needed in most modern environments where UTF8 is usually the default).
Comment thread INSTALL
Note: in some system configurations you might need to add '-U postgres' to
createuser and createdb commands.

Note: most newer versions of PostgreSQL default to UTF8, albeit with a few

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this note is really needed, we don't have to explain ourselves. Let's keep it simple

Comment thread INSTALL

$ createuser -P roundcube
$ createdb -O roundcube -E UNICODE roundcubemail
$ createdb -O roundcube -E UTF8 roundcubemail

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, target the master branch.

@Neustradamus

Copy link
Copy Markdown

@randolf: Have you seen @alecpl comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants