Re: Inserting greek letters - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Inserting greek letters
Date
Msg-id 20041126153127.GD26060@svana.org
Whole thread Raw
In response to Re: Inserting greek letters  (Adam Witney <awitney@sghms.ac.uk>)
List 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@svana.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.

Attachment

pgsql-general by date:

Previous
From: Adam Witney
Date:
Subject: Re: Inserting greek letters
Next
From: Cheng Shan
Date:
Subject: Errors when deleting cords and droping table at the same time