Re: PostgreSQL encoding

From: mauro(dot)folcarelli(at)sistinf(dot)it
To: Zouari Fourat <fourat(at)gmail(dot)com>
Cc: pgsql-php(at)postgresql(dot)org, pgsql-php-owner(at)postgresql(dot)org
Subject: Re: PostgreSQL encoding
Date: 2005-02-22 12:43:14
Message-ID: OFD5F0FFB0.0420B105-ONC1256FB0.004460E7-C1256FB0.0045E081@fds.internal.fds.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html"; charset="utf-8">

that's all.

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Zouari Fourat 2005-02-22 13:27:55 Re: PostgreSQL encoding
Previous Message Zouari Fourat 2005-02-22 12:27:37 PostgreSQL encoding