| From: | "Carmen Wai" <wai_carmen(at)hotmail(dot)com> |
|---|---|
| To: | bm(at)turtle-entertainment(dot)de, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Support for unicode |
| Date: | 2003-01-18 03:36:14 |
| Message-ID: | F1449CHXUESFEgoAA9a0000b7ec@hotmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hello:
Is that mean just treating the unicode characters as multibyte? How about I
insert the unicode data using libpq C library? Do I just insert the unicode
characters normally as character (char * query)??
PGresult *PQexec(PGconn *conn, const char *query);
Thanks for you help!
Carmen
>
>Have a look at http://www.postgresql.org/idocs/index.php?multibyte.html
>
>What you can do is transform your characters properly to UTF-8 and then
>insert them as normal having server and client encoding set to UNICODE.
>
>What you can also do: Don't transform them to UTF-8, but set your
>client_encoding to desired value (see the link above) and use the automatic
>encoding translation between server and client. They will be automagically
>translated to UNICODE (UTF-8).
>
>Regards,
>Bjoern
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2003-01-18 03:39:02 | Re: Fw: configure error with krb5 |
| Previous Message | kanchana | 2003-01-18 03:20:08 | Re: Fw: configure error with krb5 |