Re: Unicode Secret - Mailing list pgsql-php

From Jean-Michel POURE
Subject Re: Unicode Secret
Date
Msg-id 200204171149.13675.jm.poure@freesurf.fr
Whole thread Raw
In response to Unicode Secret  ("Areski Belaid" <areski5@hotmail.com>)
List pgsql-php
1) Unicode database
> I thing that must create a UNICODE database
> compile postgres  with unicode support,
>  ./configure --enable-multibyte
>  ::>        createdb -E UNICODE me-e

Correct. If you are new to PostgreSQL, why not simply use PostgreSQL RPMs
which should be compiled by default with the --enable-multibyte feature
(Mandrake RPMs are).

2) PHP multi-byte compatibility
> I need to use Mbstring or...

PHP needs to be compiled with multi-byte options as explained in
http://www.php.net/manual/en/install.configure.php

Please note you can overload PHP string functions with their multi-byte safe
equivalent using "mbstring.func_overload = positive value" in php.ini.

A more detailed information can be found at
http://www.php.net/manual/en/ref.mbstring.php.

Cheers,
Jean-Michel POURE

pgsql-php by date:

Previous
From: "Areski Belaid"
Date:
Subject: Unicode Secret
Next
From: Andrew McMillan
Date:
Subject: Re: PHP die but PG doesnt have roolbacked the transaction