Re: Correct Encoding

Lists: pgsql-php
From: kulmacet101(at)kulmacet(dot)com
To: "pgsql-php" <pgsql-php(at)postgresql(dot)org>
Subject: Correct Encoding
Date: 2009-01-08 22:41:34
Message-ID: d7f061821d94a12645202243c6a4d177.squirrel@webmail.kulmacet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

All,

I am starting a new project using PHP and Postgres. I recently bumped into
an issue with Postgresql & PHP encoding (It's still a mess).
Could some one recommend what encoding to use for the database that
integrates easily with PHP?

Any comments or recommendations appreciated.

Thanks in advance,
Kulmacet


From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: kulmacet101(at)kulmacet(dot)com
Cc: pgsql-php <pgsql-php(at)postgresql(dot)org>
Subject: Re: Correct Encoding
Date: 2009-01-08 22:45:05
Message-ID: 496681F1.7070309@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

On 08/01/2009 22:41, kulmacet101(at)kulmacet(dot)com wrote:

> I am starting a new project using PHP and Postgres. I recently bumped into
> an issue with Postgresql & PHP encoding (It's still a mess).
> Could some one recommend what encoding to use for the database that
> integrates easily with PHP?

I use UTF8 at the server and LATIN9 at the client, as I need to store
characters with fádas (accents in Irish).

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------


From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: rod(at)iol(dot)ie
Cc: kulmacet101(at)kulmacet(dot)com, pgsql-php <pgsql-php(at)postgresql(dot)org>
Subject: Re: Correct Encoding
Date: 2009-01-08 23:00:05
Message-ID: 49668575.7050100@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

On 08/01/2009 22:45, Raymond O'Donnell wrote:

> I use UTF8 at the server and LATIN9 at the client, as I need to store
> characters with fádas (accents in Irish).

Should have added that I'm using PHP on Windows 2003 and PostgreSQL on
Debian.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------