Search Postgresql Archives

Posgresql to MSsql encoding problem

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I have this PHP script that simply dumps (inserts) data from a
Postgresql server to a customer's M$SQL server.

The database in the PGSQL server is UTF-8 encoded where the M$SQL
database uses LATIN1.

Accents, as expected, turn to gibberish... :(

I cannot simply use "Set Client Encoding to LATIN1" as the "client"
itself is the script ... :)

Is there a simple way to circumvent this?

Already thankful for any info,
Best regards,
Pedro Doria Meunier

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrPEukACgkQ2FH5GXCfxAv9LwCeIsLcr7wwcBTzvXqM/ufYysUK
yQ8AniNYuAjQAEktUt7OCS7lZl4kz92f
=qBrj
-----END PGP SIGNATURE-----


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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux