Skip site navigation (1) Skip section navigation (2)

Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!

From: Jan-Erik Lärka <jan-erik(at)xn--lrka-loa(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
Date: 2011-04-04 16:34:21
Message-ID: 100.68710d000df3994d.004@xn--lrka-loa.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
Hello,

IBM-1208 is the name of the codepage on my operating system, just as several other...
CP850, CP437 (US) , CP1004 (same as win1252) etc.

Please note that this is also present within PostgreSQL 9.0.3

Add IBM-1208, IBM-850 etc. somewhere so that it doesn't complain?!
_____________________
[C:\PROGRAMS\PGSQL\BIN]initdb -D C:\U8DB --encoding=UTF8 --locale=sv_SE.UTF8
short_version = 8.4
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale sv_SE.UTF8.
could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
The default text search configuration will be set to "swedish".

creating directory C:/U8DB ... ok
creating subdirectories ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 400kB
creating configuration files ... ok
creating template1 database in C:/U8DB/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
DETAIL: Please report this to <pgsql-bugs(at)postgresql(dot)org>.
WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
DETAIL: Please report this to <pgsql-bugs(at)postgresql(dot)org>.
ok
copying template1 to postgres ... WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
DETAIL: Please report this to <pgsql-bugs(at)postgresql(dot)org>.
WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
DETAIL: Please report this to <pgsql-bugs(at)postgresql(dot)org>.
ok

...
Med vänliga hälsningar / With kind regards / Mit freundlichen Grüßen,
//Jan-Erik Lärka

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2011-04-04 16:37:24
Subject: Re: [HACKERS] Uppercase SGML entity declarations
Previous:From: Gabriele BartoliniDate: 2011-04-04 16:23:57
Subject: Re: [HACKERS] Uppercase SGML entity declarations

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2011-04-05 05:33:18
Subject: Re: Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
Previous:From: Robert HaasDate: 2011-04-04 01:53:57
Subject: Re: BUG #5856: pg_attribute.attinhcount is not correct.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group