Re: PostgreSQL encoding - Mailing list pgsql-php

From mauro.folcarelli@sistinf.it
Subject Re: PostgreSQL encoding
Date
Msg-id OFD5F0FFB0.0420B105-ONC1256FB0.004460E7-C1256FB0.0045E081@fds.internal.fds.it
Whole thread Raw
In response to PostgreSQL encoding  (Zouari Fourat <fourat@gmail.com>)
Responses Re: PostgreSQL encoding
List 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.
 

pgsql-php by date:

Previous
From: Zouari Fourat
Date:
Subject: PostgreSQL encoding
Next
From: Zouari Fourat
Date:
Subject: Re: PostgreSQL encoding