pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jean-Michel POURE <jm.poure@freesurf.fr>
To: frederic massot <frederic@juliana-multimedia.com>
To: pgsql-php <pgsql-php@postgresql.org>
Subject: Re: Pb with the French accentuated characters
Date: Tue, 30 Apr 2002 16:27:27 +0200
Message-ID: <200204301627.27167.jm.poure@freesurf.fr> (raw)
In-Reply-To: <3CCEA290.DC3AA17E@juliana-multimedia.com>
References: <3CCE936B.245D870C@juliana-multimedia.com>
	<200204301522.44037.jm.poure@freesurf.fr>
	<3CCEA290.DC3AA17E@juliana-multimedia.com>

Le Mardi 30 Avril 2002 15:56, frederic massot a écrit :
> Ok, but for a site allowing the updates of the data for a French users,
> or for a Brazilian, with the same interface ?
> Sometimes our customers are not French.
> Certain parts of the Web site will be updated with French characters,
> others with non French characters.

Latin9 means ISO_8859-15 = all Western languages.
This should work for Brazilian.

Otherwise, if you need Arabic + Japanese + French + etc..,
use a complete Unicode chain:

1) Your web pages (.php) should be saved in UTF-8 format.

2) Your web pages (.php) should send UTF-8 headers to the internet browser (to 
tell the browser to switch to UTF-8).

3) PHP should be compiled with mb options enabled. 
See http://uk.php.net/manual/en/ref.mbstring.php.
Otherwize you wron't be able to calculate string lenght, etc...
mbstring.func_overload should be set to 4 in php.ini to automatically
overload PHP functions with their ITF-8 equivalent.

Have fun,
Jean-Michel POURE



view thread (5+ messages)  latest in thread

Message-ID: <200204301627.27167.jm.poure@freesurf.fr>
Permalink:  ../200204301627.27167.jm.poure@freesurf.fr/
Also on:    postgresql.org/message-id/200204301627.27167.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, frederic@juliana-multimedia.com
  Subject: Re: Pb with the French accentuated characters
  In-Reply-To: <200204301627.27167.jm.poure@freesurf.fr>
  References: <3CCE936B.245D870C@juliana-multimedia.com> <200204301522.44037.jm.poure@freesurf.fr> <3CCEA290.DC3AA17E@juliana-multimedia.com> <200204301627.27167.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