pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedUTF8 question
2+ messages / 2 participants
[nested] [flat]
* UTF8 question
@ 2006-08-04 20:02 Abu Mushayeed <amushayeed@hotmail.com>
2006-08-04 21:20 ` Re: UTF8 question Ivo Rossacher <rossacher@bluewin.ch>
0 siblings, 1 reply; 2+ messages in thread
From: Abu Mushayeed @ 2006-08-04 20:02 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: UTF8 question
2006-08-04 20:02 UTF8 question Abu Mushayeed <amushayeed@hotmail.com>
@ 2006-08-04 21:20 ` Ivo Rossacher <rossacher@bluewin.ch>
0 siblings, 0 replies; 2+ messages in thread
From: Ivo Rossacher @ 2006-08-04 21:20 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-08-04 21:20 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-04 20:02 UTF8 question Abu Mushayeed <amushayeed@hotmail.com>
2006-08-04 21:20 ` Ivo Rossacher <rossacher@bluewin.ch>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox