From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Adam Witney <awitney(at)sghms(dot)ac(dot)uk> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Inserting greek letters |
Date: | 2004-11-26 15:31:33 |
Message-ID: | 20041126153127.GD26060@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Nov 26, 2004 at 03:16:25PM +0000, Adam Witney wrote:
>
> Hi Martijn, thanks for your quick reply...
>
> > As for PHP, you need to have the browser and PHP agree on what
> > character set they're going to use. Then you set the client encoding
> > appropriately and PostgreSQL will make sure you get the information you
> > expect.
>
> Im not sure, where do I set the client encoding?
Execute the command:
SET CLIENT_ENCODING = <whatever PHP/the web browser is using>
Maybe:
Latin1
Latin9
UTF-8
Windows1238
You need to configure one, don't ask me how though, I don't know PHP or
HTML.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | j0rd1 adame | 2004-11-26 18:24:43 | Error after adding Foreign Keys |
Previous Message | Adam Witney | 2004-11-26 15:16:25 | Re: Inserting greek letters |