From: | Marko Kreen <marko(at)l-t(dot)ee> |
---|---|
To: | Culley Harrelson <culleyharrelson(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: unicode in 7.1 |
Date: | 2001-09-11 12:54:19 |
Message-ID: | 20010911145418.A10398@l-t.ee |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Sep 11, 2001 at 05:21:22AM -0700, Culley Harrelson wrote:
> What would be the proper encoding? Essentially anything goes with the data
> in this database-- I had language aid material that could potentially be
> for any language you can type.
UNICODE?
> I don't think java is the issue-- from pgsql in the shell you get a
> question mark ? for your most basic accented character.
The issue is neither PostgreSQL nor JDBC driver. The issue is
that db encoding does not match data. If you see '?' psql
then seems like the data was converted on insert to SQL_ASCII...
psql does no do any charset conversions (yet?), JDBC does.
If data is in psql OK but in JDBC wrong then you are lucky and
data is still healthy.
You should dump your database and create db with correct
encoding and reload data.
Use \l in psql to see you db-s and encodings.
--
marko
From | Date | Subject | |
---|---|---|---|
Next Message | Gunnar Rønning | 2001-09-11 13:11:44 | Re: Ridicolus Postgresql review |
Previous Message | Andrea Aime | 2001-09-11 12:49:04 | Ridicolus Postgresql review |