Home > Archive > PostgreSQL Discussion > December 2005 > No reaction to client_encoding!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author No reaction to client_encoding!
CptPicard

2005-12-20, 8:24 pm

Hello, I have two Unicode databases on two different versions of
PostgreSQL (7.3.x and 7.4.x), and I have this odd issue on both of
them... I am trying to read Latin1 strings out of them because some
parts of my business logic do not support unicode. However, I just
can't get the backend to do the transformation for me. I have tried
both "set client_encoding to latin1" and \encoding latin1. The variable
does get set properly, but selects still return only Unicode! I have
the problem using both pgsql and Ruby DBI. I probably don't understand
the big picture about the character encoding issue here so bear with
me, but I'm pretty lost...

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com