pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jean-Michel POURE <jm.poure@freesurf.fr>
To: Areski Belaid <areski5@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Re: Unicode Secret
Date: Wed, 17 Apr 2002 11:49:13 +0200
Message-ID: <200204171149.13675.jm.poure@freesurf.fr> (raw)
In-Reply-To: <OE76alyzftdDIEfmfNy00002515@hotmail.com>
References: <OE76alyzftdDIEfmfNy00002515@hotmail.com>

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



view thread (2+ messages)

Message-ID: <200204171149.13675.jm.poure@freesurf.fr>
Permalink:  ../200204171149.13675.jm.poure@freesurf.fr/
Also on:    postgresql.org/message-id/200204171149.13675.jm.poure@freesurf.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: jm.poure@freesurf.fr, areski5@hotmail.com
  Subject: Re: Unicode Secret
  In-Reply-To: <200204171149.13675.jm.poure@freesurf.fr>
  References: <OE76alyzftdDIEfmfNy00002515@hotmail.com> <200204171149.13675.jm.poure@freesurf.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox