X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 7D70D9FB1DD for ; Fri, 4 Aug 2006 18:20:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 30656-07 for ; Fri, 4 Aug 2006 21:20:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail13.bluewin.ch (mail13.bluewin.ch [195.186.18.62]) by postgresql.org (Postfix) with ESMTP id B51919FB31A for ; Fri, 4 Aug 2006 18:20:41 -0300 (ADT) Received: from [192.168.1.74] (83.79.155.91) by mail13.bluewin.ch (Bluewin 7.3.110.2) id 44B3613300548641 for pgsql-admin@postgresql.org; Fri, 4 Aug 2006 21:20:40 +0000 From: Ivo Rossacher To: pgsql-admin@postgresql.org Subject: Re: UTF8 question Date: Fri, 4 Aug 2006 23:20:24 +0200 User-Agent: KMail/1.8.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200608042320.24393.rossacher@bluewin.ch> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/52 X-Sequence-Number: 22596 You can set the client encoding to latin1 to make the database convert the= =20 strings for you. Read also chapter 20.2. Character Set Support of the serve= r=20 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 a= ny=20 encoding at the server side (The server can not do most of the=20 transformations possible with other encodings). So the client is fully=20 responsible for the encoding (which is critical in a lot of applications,=20 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 "=F4" characters. WIll it > come out the same as in the DB? > > Thanks > Abu > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster