Thread: Bad French support encoding for postgresql version 8.0.4

Bad French support encoding for postgresql version 8.0.4

From
Jacques Grelet
Date:
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

Re: Bad French support encoding for postgresql version 8.0.4

From
Peter Eisentraut
Date:
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/