Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

UTF8 Questions



We upgraded our Db from LATIN1 to UTF8 as follows:

1. new install with encoding=UTF8
2. pg_dump from old DB and import into new db using psql as follows:
 pg_dump out of old_db|psql into new_db
3. New feeds (data files) come in same as when the DB was latin1. If error message from any load script like "Invalid UTF8 code ...",  then, "set client_encoding=latin1" in the script and run again and all is well.
4. all the other scripts run on the UTF8 Db as is and no errors, meaning the scripts has not been changed and is running as is before when DB was latin1.
5. Now, some of the DB feeds (data files) is changing to UTF8. What needs to be done when the data feeds changes to UTF8.

Any other thoughts or if there is a problem that anyone sees, please help me with a solution.

Thanks


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.

Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group