pg_dump -f your_db.dmp your_db
iconv -f ISO8859-1 -t UTF-8 your_db.dmp > utf.dmp
psql your_utf_db < utf.dmp
Note that Rails was used to input the data into my old sql_ascii database, so the encoding was consistent. You might not be so lucky...
25 septembre 2010
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire