We're Hiring!

PostgreSQL DB Encoding: SQL_ASCII vs. UTF8

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

PostgreSQL DB Encoding: SQL_ASCII vs. UTF8

Postby rpoehlmann » Mon Dec 03, 2012 10:47 am

Are there any official recommendations concerning the PostgreSQL encoding used for the Omero database? The installation manual
https://www.openmicroscopy.org/site/support/omero4/sysadmins/unix/server-installation.html
does show SQL_ASCCII in a screenshot:

Code: Select all
        List of databases
   Name         |  Owner   | Encoding
----------------+----------+-----------
omero_database | db_user  | SQL_ASCII


However, a standard PostgreSQL install uses "UTF8" encoding for a newly created DB instead.
Are there any pros/cons towards the one or other? Any (official) recommendation or experience would be appreciated.

Many thanks in advance,
-Rainer
User avatar
rpoehlmann
 
Posts: 42
Joined: Thu Feb 09, 2012 2:04 pm

Re: PostgreSQL DB Encoding: SQL_ASCII vs. UTF8

Postby ajpatterson » Tue Dec 04, 2012 11:00 am

Rainer,

The example should be using UTF8.

I have submitted a fix to the documentation:
https://github.com/openmicroscopy/ome-d ... n/pull/171

This should appear soon in the next release of the docs.

Thanks for spotting this!

Andrew
--
Andrew Patterson
Software Developer, Open Microscopy Environment
Wellcome Trust Centre for Gene Regulation and Expression
University of Dundee
ajpatterson
 
Posts: 50
Joined: Fri May 01, 2009 11:18 am


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest