Thread: Correct Encoding

Correct Encoding

From
kulmacet101@kulmacet.com
Date:
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


Re: Correct Encoding

From
Raymond O'Donnell
Date:
On 08/01/2009 22:41, kulmacet101@kulmacet.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@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

Re: Correct Encoding

From
Raymond O'Donnell
Date:
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@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------