pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: frederic massot <frederic@juliana-multimedia.com>
To: pgsql-php@postgresql.org
Subject: Pb with the French accentuated characters
Date: Tue, 30 Apr 2002 14:51:55 +0200
Message-ID: <3CCE936B.245D870C@juliana-multimedia.com> (raw)

Hello,

Since the update of a PC of test (Debian GNU/Linux Woody, Apache
1.3.23-1, Php4 4.1.2, Postgresql 7.2.1), the Web sites functioning on
this PC produce errors during the insertion of French accentuated 
characters ("é", "è", "à", etc...) in the databases.

An error message with PHP : 

PostgreSQL query failed:  ERROR:  Invalid UNICODE character sequence
found (0xe97373)

Error messages with psql : 

juliana=> insert into essai values ('était');
ERROR:  Invalid UNICODE character sequence found (0xe97461)
juliana=> insert into essai values ('ètait');
ERROR:  Invalid UNICODE character sequence found (0xe87461)
juliana=> insert into essai values ('àtait');
ERROR:  Invalid UNICODE character sequence found (0xe07461)


With version 7.1.3 of Postgresql not did not have any errors. 

All the databases are encoding in UNICODE.

Postgresql is compiled with the option "--enable-unicode-conversion". 

I know that version 7.2.1 of Postgresql checks the data before inserting
them. But I do not understand why conversion does not function.

Do you have an idea ? 

Thank you.
-- 
==============================================
|              FREDERIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic@juliana-multimedia.com   |
===========================Debian=GNU/Linux===



view thread (5+ messages)  latest in thread

Message-ID: <3CCE936B.245D870C@juliana-multimedia.com>
Permalink:  ../3CCE936B.245D870C@juliana-multimedia.com/
Also on:    postgresql.org/message-id/3CCE936B.245D870C@juliana-multimedia.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: frederic@juliana-multimedia.com
  Subject: Re: Pb with the French accentuated characters
  In-Reply-To: <3CCE936B.245D870C@juliana-multimedia.com>
  References: <3CCE936B.245D870C@juliana-multimedia.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox