pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
win1252  to  UTF8
2+ messages / 2 participants
[nested] [flat]

* win1252  to  UTF8
@ 2011-12-21 21:08 Maurício Cruz <cruz@sygecom.com.br>
  2011-12-22 07:54 ` Re: win1252  to  UTF8 SQLAdmin <SQLAdmin@cromwell.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Maurício Cruz @ 2011-12-21 21:08 UTC (permalink / raw)
  To: pgsql-admin

Hi all,

I need to convert my database from codification WIN1252  to UTF8,
I've try to use pg_dump -U postgres -h 192.168.0.192 -E UTF8 -v -F p -f 
bkp.sql database
but I have to following erro:
pg_dump: SQL command failed
pg_dump: Error message from server: ERRO:  caracter 0x8d da codificação 
"WIN1252" não tem equivalente em "UTF8"
  ( translation:   pg_dump: Error message from server: ERRO:  caracter 
0x8d of codification "WIN1252" don't have equivalent in "UTF8"  )

also I tryed  to run pg_dump  converting to codification  LATIN1 but 
then I have the follow erro:
pg_dump: invalid client encoding "LATIN1" specified

may be I could bring a dump file in LATIN1 and then user iconve to 
convert into UTF8 ...  but I fail!


is there a good soul to help me out in this matter ??

Thanks a lot every one.






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: win1252  to  UTF8
  2011-12-21 21:08 win1252  to  UTF8 Maurício Cruz <cruz@sygecom.com.br>
@ 2011-12-22 07:54 ` SQLAdmin <SQLAdmin@cromwell.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: SQLAdmin @ 2011-12-22 07:54 UTC (permalink / raw)
  To: Maurício Cruz <cruz@sygecom.com.br>; pgsql-admin

-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Maurício Cruz
Sent: 21 December 2011 21:08
To: pgsql-admin@postgresql.org
Subject: [ADMIN] win1252 to UTF8

Hi all,

I need to convert my database from codification WIN1252  to UTF8,
I've try to use pg_dump -U postgres -h 192.168.0.192 -E UTF8 -v -F p -f 
bkp.sql database
but I have to following erro:
pg_dump: SQL command failed
pg_dump: Error message from server: ERRO:  caracter 0x8d da codificação 
"WIN1252" não tem equivalente em "UTF8"
  ( translation:   pg_dump: Error message from server: ERRO:  caracter 
0x8d of codification "WIN1252" don't have equivalent in "UTF8"  )

also I tryed  to run pg_dump  converting to codification  LATIN1 but 
then I have the follow erro:
pg_dump: invalid client encoding "LATIN1" specified

may be I could bring a dump file in LATIN1 and then user iconve to 
convert into UTF8 ...  but I fail!


is there a good soul to help me out in this matter ??

Thanks a lot every one.




-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


Have you tried dumping using "--inserts"? this should remove the UTF8 problems in most cases. 

Cheers

___________________________________________________ 
  
This email is intended for the named recipient. The information contained 
in it is confidential.  You should not copy it for any purposes, nor 
disclose its contents to any other party.  If you received this email 
in error, please notify the sender immediately via email, and delete it from
your computer. 
  
Any views or opinions presented are solely those of the author and do not 
necessarily represent those of the company. 
  
PCI Compliancy: Please note, we do not send or wish to receive banking, credit
or debit card information by email or any other form of communication.         

Please try our new on-line ordering system at http://www.cromwell.co.uk/ice

Cromwell Tools Limited, PO Box 14, 65 Chartwell Drive
Wigston, Leicester LE18 1AT. Tel 0116 2888000
Registered in England and Wales, Reg No 00986161
VAT GB 115 5713 87 900
__________________________________________________




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-12-22 07:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-12-21 21:08 win1252  to  UTF8 Maurício Cruz <cruz@sygecom.com.br>
2011-12-22 07:54 ` SQLAdmin <SQLAdmin@cromwell.co.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox