Thread: Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
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@postgresql.org>. WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208" DETAIL: Please report this to <pgsql-bugs@postgresql.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@postgresql.org>. WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208" DETAIL: Please report this to <pgsql-bugs@postgresql.org>. ok ... Med vänliga hälsningar / With kind regards / Mit freundlichen Grüßen, //Jan-Erik Lärka
On 04.04.2011 19:34, Jan-Erik Lärka wrote: > 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?! It's easy to these aliases, but I wonder: what operating system is this? It looks like Windows, but I've never seen those IBM codepage aliases on any Windows system. OS/2 ? _____________________ > [C:\PROGRAMS\PGSQL\BIN]initdb -D C:\U8DB --encoding=UTF8 --locale=sv_SE.UTF8 > short_version = 8.4 Where did that "short_version = 8.4" line come from? Stock initdb doesn't print that. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com