bonjour,

je viens d'installer postgresql 8.3 mais je rencontre un probleme lorsque je veux créer une nouvelle base il me retourne :

ERROR: encoding UTF-8 does not match server's locale fr_FR
DETAIL: The server's LC_CTYPE setting requires encoding LATIN1

j'ai modifié potgresql.conf

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
client_encoding = utf8          # actually, defaults to database
                                        # encoding
 
# These settings are initialized by initdb, but they can be changed.
lc_messages = 'fr_FR.UTF-8'                     # locale for system error message
                                        # strings
lc_monetary = 'fr_FR.UTF-8'                     # locale for monetary formatting
lc_numeric = 'fr_FR.UTF-8'                      # locale for number formatting
lc_time = 'fr_FR.UTF-8'                         # locale for time formatting
 
# default configuration for text search
default_text_search_config = 'pg_catalog.french'
toujours pas!

lorsque j'execute :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
 
postgres=# SHOW client_encoding;
 client_encoding
-----------------
 utf8
(1 ligne)
 
postgres=# SHOW LC_CTYPE;
 lc_ctype
----------
 fr_FR
(1 ligne)
je ne vois pas comment régler mon problème

cordialement austriker