| From: | "Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar(dot)Pyatalo(at)honeywell(dot)com> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org |
| Subject: | Please help - libpq API |
| Date: | 2005-09-08 06:40:57 |
| Message-ID: | 77ED2BF75D59D1439F90412CC5B109742415CA8D@ie10-sahara.hiso.honeywell.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-novice |
Hi all,
I have already posted my query regarding libpq functions and wide character
support. Pls somebody help me. I am using libpq API functions in my C code
to do operations on the database. But the problem I m facing is API
functions like PQexec() etc....accept only char * .... but as part of
localization, the queries I want to executed contain chinese characters
which are multibytes. So the queries I want to execute are in wchar_t *
format and PQ exec() accepts only char *. Is there any alternate way to
execute queries having wide characters.
Even if somehow if I convert wchar_t * to char * and provide it to
Postgres, how will it differentiate between chinese characters and normal
characters ??
Please help !!
Regs,
Pradeep
> This e-mail and any attachments thereto, are intended only for use by the
> addressee(s) named herein and contain Honeywell confidential information.
> If you are not the intended recipient of this e-mail, you are hereby
> notified that any dissemination, distribution or copying which amounts to
> misappropriation of this e-mail and any attachments thereto, is strictly
> prohibited. If you have received this e-mail in error, please immediately
> notify me and permanently delete the original and any copy of any e-mail
> and any printout thereof."
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thusitha Kodikara | 2005-09-08 08:03:26 | Relationship beween sequences (serial) and tables |
| Previous Message | chandrasekare | 2005-09-08 01:37:23 | Linking Oracle DB from postgresql |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Toff | 2005-09-08 09:19:47 | Execute external program |
| Previous Message | operationsengineer1 | 2005-09-08 04:09:18 | Re: Weird SQL Problem |