pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
3+ messages / 2 participants
[nested] [flat]

* Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
@ 2011-04-04 16:34  Jan-Erik Lärka <jan-erik@xn--lrka-loa.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jan-Erik Lärka @ 2011-04-04 16:34 UTC (permalink / raw)
  To: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
@ 2011-04-05 05:33  Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
  parent: Jan-Erik Lärka <jan-erik@xn--lrka-loa.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Heikki Linnakangas @ 2011-04-05 05:33 UTC (permalink / raw)
  To: Jan-Erik Lärka <jan-erik@xn--lrka-loa.com>; +Cc: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [BUGS] Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?!
@ 2011-04-06 13:20  Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
  parent: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2011-04-06 13:20 UTC (permalink / raw)
  To: Jan-Erik Lärka <jan-erik@xn--lrka-loa.com>; +Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-04-06 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-04-04 16:34 Non Win/*nix UTF-8 codepage not known to PostgreSQL developers?! Jan-Erik Lärka <jan-erik@xn--lrka-loa.com>
2011-04-05 05:33 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-04-06 13:20   ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox