X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 794E0D1B433 for ; Tue, 9 Dec 2003 08:34:35 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 83549-06 for ; Tue, 9 Dec 2003 04:34:06 -0400 (AST) Received: from mailer.informactis.com (ns2.informactis.com [212.94.176.200]) by svr1.postgresql.org (Postfix) with ESMTP id 7B1B6D1B439 for ; Tue, 9 Dec 2003 04:34:03 -0400 (AST) Received: from aliens.lyon.ia (aliens.lyon.ia [10.1.66.10]) by mailer.informactis.com (8.12.10/8.12) with ESMTP id hB98Y3Gs017288 for ; Tue, 9 Dec 2003 09:34:03 +0100 Received: (from root@localhost) by aliens.lyon.ia (8.12.10/8) id hB98Y27U031074 for pgsql-php@postgresql.org; Tue, 9 Dec 2003 09:34:02 +0100 Received: from grotte.in.ia (grotte.in.ia [10.64.67.10]) by aliens.lyon.ia (8.12.10/8.12.1) with ESMTP id hB98Y0ue031067 for ; Tue, 9 Dec 2003 09:34:00 +0100 Received: from informactis.com (dbretin2.in.ia [10.64.130.11]) by grotte.in.ia (8.12.10/8.12) with ESMTP id hB98Y1j9017252 for ; Tue, 9 Dec 2003 09:34:01 +0100 Message-ID: <3FD5891A.8020708@informactis.com> Date: Tue, 09 Dec 2003 09:34:34 +0100 From: Didier Bretin Organization: Informactis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: fr, en MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Unicode, php and postgresql Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Safe: by [Aliens] InformActis SA X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=USER_AGENT_MOZILLA_UA X-Spam-Level: X-Archive-Number: 200312/9 X-Sequence-Number: 2455 Hi, I try to install a 7.4.0 + php for developping an application in unicode. Apparently I have no problem ;). But I don't understand enough the documentation of php. My postgresql server is configured in unicode, and my database is entirely in unicode. In my php.ini file I set no mbstring variables. When I'm connecting to the database, I SELECT the data and then I print them, with the charset utf-8, to the browser and all the characters are correctly displayed. My question is : is it the right way I don't have to configure anything in php for dealing with unicode :) ? And is there anybody else who played with the same configuration as mine ? Regards. -- .------------------------------------------------. .^. | Didier Bretin, France | dbr@informactis.com | /V\ |-----------------------| www.informactis.com | // \\ | `------------------------| /( )\ | Visit: http://www.vim.org/ | ^^-^^ `------------------------------------------------'