Re: Client Encoding

From: Andreas Pflug <Andreas(dot)Pflug(at)web(dot)de>
To: pgadmin-hackers(at)postgresql(dot)org, Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: Client Encoding
Date: 2003-06-11 12:52:01
Message-ID: 3EE725F1.50001@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dave Page wrote:

>It seems we all seem to think that client_encoding should be set to
>UNICODE in all cases for unicode builds and SQL_ASCII for others,
>therefore I've backed out the previous changes and implemented this
>behaviour instead.
>
Looks good to me.

I've changed libpq handling so utf-8 is correctly converted to utf-16. I
believe encoding is now handled correctly for unicode builds. A current
win32 build is uploaded to snake.pgadmin.org.

Client encoding setting might still be useful for non-unicode builds, if
we want to support them at all. The list of selectable client encodings
would have to be restricted to 8-bit/char codes.
Actually, I'd prefer to recommend unicode-builds as *the* one and only
solution for multi-encoding environments, leaving the non-unicode build
pinned to sql_ascii.

Regards,
Andreas

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-06-11 13:11:09 Re: Client Encoding
Previous Message Jean-Michel POURE 2003-06-11 10:58:17 Re: pgAdmin3 documentation