Re: UTF8 question

From: Ivo Rossacher <rossacher(at)bluewin(dot)ch>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: UTF8 question
Date: 2006-08-04 21:20:24
Message-ID: 200608042320.24393.rossacher@bluewin.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

You can set the client encoding to latin1 to make the database convert the
strings for you. Read also chapter 20.2. Character Set Support of the server
documentation about the different options for setting the client encoding.
By the way SQL_ASCII is not a clientencoding in that sens but the lack of any
encoding at the server side (The server can not do most of the
transformations possible with other encodings). So the client is fully
responsible for the encoding (which is critical in a lot of applications,
especially when different clients have to be supported).

Regards
Ivo

Am Freitag, 4. August 2006 22.02 schrieb Abu Mushayeed:
> Hello,
>
> If I want data to come out from my DB which is UTF8 into LATIN1 or
> SQL_ASCII. How do I do it. How do I handle the "" characters. WIll it
> come out the same as in the DB?
>
> Thanks
> Abu
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message jesus martinez 2006-08-06 04:07:47 running PostGres without installing it
Previous Message Rodolfo Borges 2006-08-04 20:51:07 Re: installing on user account