pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Unicode Secret
2+ messages / 2 participants
[nested] [flat]

* Unicode Secret
@ 2002-04-17 08:38 Areski Belaid <areski5@hotmail.com>
  2002-04-17 09:49 ` Re: Unicode Secret Jean-Michel POURE <jm.poure@freesurf.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: Areski Belaid @ 2002-04-17 08:38 UTC (permalink / raw)
  To: pgsql-php

Hello the Community,

I need some help... 
I want store japanese text in my postgres database...

Thus What I need to do...

I thing that must create a UNICODE database 
compile postgres  with unicode support,
     ::>       ./configure --enable-multibyte
and create,
     ::>        createdb -E UNICODE me-e

So after that if it's correct...
What I need to do ?????

I want aswell send Japanese email...

I need to use Mbstring or...

What's exactly php and unicode?


  Helppppppsssssssssss, Areski

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Unicode Secret
  2002-04-17 08:38 Unicode Secret Areski Belaid <areski5@hotmail.com>
@ 2002-04-17 09:49 ` Jean-Michel POURE <jm.poure@freesurf.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Jean-Michel POURE @ 2002-04-17 09:49 UTC (permalink / raw)
  To: Areski Belaid <areski5@hotmail.com>; 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-04-17 09:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-17 08:38 Unicode Secret Areski Belaid <areski5@hotmail.com>
2002-04-17 09:49 ` Jean-Michel POURE <jm.poure@freesurf.fr>

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