Converting a DB from SQL_ASCII to UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear list,

how would I convert an existing database (dbmail mail server, 
http://dbmail.org/) from SQL_ASCII to UTF-8?

I cannot just dump and reload, because:

psql:/mnt/dbmail:191030: FEHLER:  ungültige Byte-Sequenz für 
Kodierung »UTF8«: 0xdc62
TIP:  Dieser Fehler kann auch auftreten, wenn die Bytesequenz nicht mit 
der Kodierung übereinstimmt, die der Server erwartet, welche 
durch »client_encoding« bestimmt wird.

(How could I tell postfix to speak with me in english?)

Now what would be the correct way to convert, without destroying any of 
the DB contents? There are e-mails there, so binary values are 
important, too.

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0676/846 914 666                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: EA39 8918 EDFF 0A68 ACFB  11B7 BA2D 060F 1C6F E6B0
// Keyserver: www.keyserver.net                   Key-ID: 1C6FE6B0

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux