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   <[EMAIL PROTECTED]>   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: pgpbbGRvWjpKM.pgp
Description: PGP signature

Reply via email to