Correct Encoding

View: New views
3 Messages — Rating Filter:   Alert me  

Correct Encoding

by kulmacet101 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


--
Sent via pgsql-php mailing list (pgsql-php@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php

Re: Correct Encoding

by Raymond O'Donnell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/01/2009 22:41, kulmacet101@... 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@...
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

--
Sent via pgsql-php mailing list (pgsql-php@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php

Re: Correct Encoding

by Raymond O'Donnell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

--
Sent via pgsql-php mailing list (pgsql-php@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php