Bad French support encoding for postgresql version 8.0.4

Started by Jacques Greletover 20 years ago2 messagesbugs
Jump to latest
#1Jacques Grelet
Jacques.Grelet@ird.fr

Hi,

Since version 8.0.4, all French Postgresql messages are bad encoded.

Having a quick look beetween po's files version 8.0.3 and 8.0.4, it
appear that po's files was included to cvs certainly from an host using
a bad locale setting.

Regards,

cf:
---

psql -h $DBHOST -d inventaire
Bienvenue dans psql 8.0.4, l'interface interactive de PostgreSQL.

Tapez: \copyright pour les termes de distribution
\h pour l'aide-mémoire sur les commandes SQL
\? pour l'aide-mémoire sur les commandes internes
\g ou terminez avec un point-virgule pour exécuter une
requête
\q pour quitter

inventaire=# select version();
version

-------------------------------------------------------------------------------------------------------------
PostgreSQL 8.0.4 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC)
3.3.3 20040412 (Red Hat Linux 3.3.3-7)

example:
--------
po file in /usr/local/src/postgresql-8.0.3/src/bin/pg_ctl/po/fr.po
...
# translation of pg_ctl.po to FR_fr
# French message translation file for pg_ctl
#
# Use these quotes: �%s�
# Guillaume Lelarge <gleu@wanadoo.fr>, 2004, 2005.
#
...

Version 8.0.4:
...
# translation of pg_ctl-fr.po to FR_fr
# French message translation file for pg_ctl
#
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/po/fr.po,v 1.6.4.2 2005/06/17
11:42:01 petere Exp $
#
# Use these quotes: «%s»
# Guillaume Lelarge <gleu@wanadoo.fr>, 2004, 2005.
#
...

--
Jacques Grelet US025

Email: Jacques.Grelet@ird.fr
ou Jacques.Grelet@ifremer.fr
WWW: http://www.brest.ird.fr/us025/
http://www.us025.ird.fr

Adresse: IRD Centre de Bretagne
US 025
BP 70
29 280 Plouzane

Tel: (33) 02 98 22 45 10
Fax: (33) 02 98 22 45 14

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Jacques Grelet (#1)
Re: Bad French support encoding for postgresql version 8.0.4

Jacques Grelet wrote:

Since version 8.0.4, all French Postgresql messages are bad encoded.

Yes, the file is encoded in UTF-8 but declared to be ISO-8859-1.
Guillaume, can you check what is going on?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/