Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id D8E4F475F3F for ; Tue, 30 Apr 2002 10:30:14 -0400 (EDT) Received: from www1.translationforge.com (unknown [212.11.36.58]) by postgresql.org (Postfix) with ESMTP id 2062F476070 for ; Tue, 30 Apr 2002 10:27:26 -0400 (EDT) Received: from linus.translationforge.com ([192.168.1.102]) by www1.translationforge.com (8.12.1/8.12.1) with ESMTP id g3UERRKO021796; Tue, 30 Apr 2002 16:27:28 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Jean-Michel POURE Reply-To: jm.poure@freesurf.fr To: frederic massot , pgsql-php Subject: Re: Pb with the French accentuated characters Date: Tue, 30 Apr 2002 16:27:27 +0200 X-Mailer: KMail [version 1.4] References: <3CCE936B.245D870C@juliana-multimedia.com> <200204301522.44037.jm.poure@freesurf.fr> <3CCEA290.DC3AA17E@juliana-multimedia.com> In-Reply-To: <3CCEA290.DC3AA17E@juliana-multimedia.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204301627.27167.jm.poure@freesurf.fr> X-Archive-Number: 200204/105 X-Sequence-Number: 1129 Le Mardi 30 Avril 2002 15:56, frederic massot a =E9crit : > 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 =3D 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=20 tell the browser to switch to UTF-8). 3) PHP should be compiled with mb options enabled.=20 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