postgresql - How do you change the character encoding of a postgres database? -
i have database set default character set sql_ascii. want switch unicode. there easy way that?
- dump database
- drop database,
- create new database different encoding
- reload data.
make sure client encoding set correctly during this.
source: http://archives.postgresql.org/pgsql-novice/2006-03/msg00210.php
Comments
Post a Comment