| From: | Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr> | 
|---|---|
| To: | "Areski Belaid" <areski5(at)hotmail(dot)com>, <pgsql-php(at)postgresql(dot)org> | 
| Subject: | Re: Unicode Secret | 
| Date: | 2002-04-17 09:49:13 | 
| Message-ID: | 200204171149.13675.jm.poure@freesurf.fr | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew McMillan | 2002-04-17 10:47:45 | Re: PHP die but PG doesnt have roolbacked the transaction | 
| Previous Message | Areski Belaid | 2002-04-17 08:38:21 | Unicode Secret |