locale LATIN1 error while Postgresql
I am trying to install OpenNMS 1.10 version on Solaris 10 by using Solaris 10 default Postgresql.
While installing during Database create it give me message.
Caused by: org.postgresql.util.PSQLException: ERROR: encoding UTF8 does not match server's locale 8A.ISO8859-1
Detail: The server's LC_CTYPE setting requires encoding LATIN1.
My system is using below locale setting /etc/default/init
LC_COLLATE=en_CA.ISO8859-1
LC_CTYPE=en_CA.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_CA.ISO8859-1
LC_NUMERIC=en_CA.ISO8859-1
LC_TIME=en_CA.ISO8859-1
how to resolve this locale issue ?
0