From: | "Serguei A(dot) Mokhov" <mokhov(at)cs(dot)concordia(dot)ca> |
---|---|
To: | Hiroshi Saito <saito(at)inetrt(dot)skcapi(dot)co(dot)jp> |
Cc: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>, Ângelo Marcos Rigo <angelo_rigo(at)yahoo(dot)com(dot)br>, <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: |
Date: | 2003-10-01 16:42:20 |
Message-ID: | Pine.LNX.4.44.0310011237460.31465-100000@haida.cs.concordia.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Thu, 2 Oct 2003, Hiroshi Saito wrote:
> From: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
>
> > Serguei A. Mokhov wrote:
> >
> > >Hi,
> > >
> > >I think I have a similar issue... A pgAdmin III user contacted me
> > >with the question why they can't see the data in Russian and how to
> > >to solve the problem. I queried them for more information. I think
> > >their data must be encoded in some other encoding (e.g. KOI8-R) and
> > >when it gets to the client side, it's not converted.
> > >
> > >
> > This is correctly diagnosed, non-ascii data in a SQL_ASCII encoded
> > database will not be shown because the server doesn't know how to
> > encode it in Unicode.
> >
> > This is fixed for HEAD and BRANCH.
>
> No.
> Server encoding as below.
> -- SQL_ASCII --> UNICODE
> CREATE DEFAULT CONVERSION pg_catalog.ascii_to_utf_8 FOR 'SQL_ASCII' TO 'UNICODE' FROM ascii_to_utf8;
> -- UNICODE --> SQL_ASCII
> CREATE DEFAULT CONVERSION pg_catalog.utf_8_to_ascii FOR 'UNICODE' TO 'SQL_ASCII' FROM utf8_to_ascii;
Yes, I know about existance of this conversion (as well as about the
KOI8-R one). It's been there for ages... I'll report back once the user
gets back to me on that. I'm not sure though whether they'd be willing to
pull the stuff from the CVS and compile it -- even you guys recommend to
use the binaries... ;)
> regards,
> Hiroshi Saito
--
Serguei A. Mokhov | /~\ The ASCII
Computer Science Department | \ / Ribbon Campaign
Concordia University | X Against HTML
Montreal, Quebec, Canada | / \ Email!
"I swear, education is the only industry, where
the consumer is happier when they get less
for their money" -- Julia Timofeev
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Saito | 2003-10-01 17:03:41 | Re: client encoding SQL_ASCII for server SQL_ASCII |
Previous Message | Hiroshi Saito | 2003-10-01 16:40:55 | Re: client encoding SQL_ASCII for server SQL_ASCII |