Re: [BUGS] Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!

Lists: pgsql-bugspgsql-hackers
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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-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


From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Jan-Erik Lärka <jan-erik(at)xn--lrka-loa(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
Date: 2011-04-05 05:33:18
Message-ID: 4D9AA99E.2060408@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

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


From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Jan-Erik Lärka <jan-erik(at)xn--lrka-loa(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
Date: 2011-04-06 13:20:17
Message-ID: 4D9C6891.9000301@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

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