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

Started by Jan-Erik Lärkaalmost 15 years ago3 messages
#1Jan-Erik Lärka
jan-erik@xn--lrka-loa.com

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

#2Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Jan-Erik Lärka (#1)
Re: Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!

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

#3Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Jan-Erik Lärka (#1)
Re: [BUGS] Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!

On 05.04.2011 20:11, Jan-Erik Lärka wrote:

Yes, it's the successor to OS/2, eComStation.

We don't currently have anyone active in the community running on that
platform, so I'm reluctant to add those codepage aliases as I won't be
able to test it, and we don't support OS/2 anyway. But if you're
interested to set up a buildfarm member on OS/2, and write a patch to do
the required codepage changes, I'm happy to review and apply it.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com