pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bo <bo@budget123.dk>
To: pgsql-bugs@postgresql.org
Subject: BUG #6246: character encoding for 64 bit
Date: Mon, 10 Oct 2011 08:20:32 GMT
Message-ID: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6246
Logged by:          Bo
Email address:      bo@budget123.dk
PostgreSQL version: 9.1
Operating system:   Windows server 2008
Description:        character encoding for 64 bit
Details: 

I have just installed postgresql-9.1.1 on a windows server 2008 64 (from
binary postgresql-9.1.1-1-windows-x64)
One database is in latin1 encoding and when connecting to it with psql i get
an error: 
(two examples, one working and one not. postgres db is in utf8)
**********************************
D:\>d:\PostgreSQL\9.1\bin\psql.exe -d postgres -U postgres -c "comment on
database demo_ is 'test'"
Password for user postgres:
COMMENT

D:\>d:\PostgreSQL\9.1\bin\psql.exe -d demo_ -U postgres -c "comment on
database demo_ is 'test'"
Password for user postgres:
psql: FATAL:  conversion between WIN1252 and LATIN1 is not supported
*****************************
No matter what codepage the console is set to (with chcp). Default was 850,
i have tried 1252, 28591 and 65001.

I have the exact same setup on a windows xp 32 bit without this issue. So im
guessing it has to do with the 64 bit version of psql..

Thanks for any light you can shed on this. 
In any case i hope you can use this report.

Regards Bo TJ



view thread (9+ messages)  latest in thread

Message-ID: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org>
Permalink:  ../201110100820.p9A8KWOu064380@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201110100820.p9A8KWOu064380@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bo@budget123.dk
  Subject: Re: BUG #6246: character encoding for 64 bit
  In-Reply-To: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org>
  References: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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