X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B0A668B9E92 for ; Tue, 22 Feb 2005 13:28:04 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58656-07 for ; Tue, 22 Feb 2005 13:27:55 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by svr1.postgresql.org (Postfix) with ESMTP id 643128B9E91 for ; Tue, 22 Feb 2005 13:27:55 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 68so1197697wri for ; Tue, 22 Feb 2005 05:27:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=th4zM8SbnvTgUVJirGPHIhcvTlE5xKVnvdqHitT5ZataIoz1zSaIqo7Fs6q5EwvxQlq9LTooPQKgVA56XH7q43TbLbtOer7rmez0WqaEt5B94j/QS8CLeD+sVgtevxwsQuwYfci0Npzk/JxDxJB6CH8dX7zTfaOD9Kkw7TZM1m4= Received: by 10.54.35.68 with SMTP id i68mr75092wri; Tue, 22 Feb 2005 05:27:56 -0800 (PST) Received: by 10.54.40.4 with HTTP; Tue, 22 Feb 2005 05:27:55 -0800 (PST) Message-ID: <621eda8a050222052744aac754@mail.gmail.com> Date: Tue, 22 Feb 2005 14:27:55 +0100 From: Zouari Fourat Reply-To: Zouari Fourat To: "mauro.folcarelli@sistinf.it" Subject: Re: PostgreSQL encoding Cc: pgsql-php@postgresql.org, pgsql-php-owner@postgresql.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <621eda8a0502220427655f3cfe@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.069 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP, TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200502/21 X-Sequence-Number: 2995 there's no 'standard' way to do that ? and if i got arabic content or chinese one, i should change headers again ? On Tue, 22 Feb 2005 13:43:14 +0100, mauro.folcarelli@sistinf.it wrote: > > I solved my problems with charsets in this way: > > 1. Before composing the HTML page send the header, in this way: > > header("Content-type: text/html; charset=utf-8"); > > 2. Put in HTML page the following: > > > > that's all. >