Skip site navigation (1) Skip section navigation (2)

RE: [JDBC] Lost in unicode?

From: "Philip Yue" <philip(dot)yue(at)xmlglobal(dot)com>
To: "Chris Czeyka" <czeyka(at)skwea(dot)co(dot)jp>, <pgsql-novice(at)postgresql(dot)org>, <pgsql-jdbc(at)postgresql(dot)org>, <pgsql-admin(at)postgresql(dot)org>
Subject: RE: [JDBC] Lost in unicode?
Date: 2001-03-22 16:45:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-adminpgsql-jdbcpgsql-novice
When your Java talks to non-Java anything, the Unicode is easily broken.
You have to make sure what you insert into the db is actually Unicode.

Philip Yue
XML Global

-----Original Message-----
From: Chris Czeyka [mailto:czeyka(at)skwea(dot)co(dot)jp]
Sent: Sunday, April 22, 2001 1:29 AM
To: pgsql-novice(at)postgresql(dot)org; pgsql-jdbc(at)postgresql(dot)org;
Subject: [JDBC] Lost in unicode?

Hello to all,

I compiled postgresql with unicode support:
./configure --enable-multibyte=UNICODE 
later I create the DB: createDB JMdict -R UNICODE
\encoding shows UNICODE

so far, so good...

As java natively speaks unicode(UTF-8), just naively wrote strings of
into the DB.
But actually they reside as "?" in the Database.
this doesn't seem to be UNICODE support, i.e. I am probably missing
as of how I can enter data as unicode.

Hopefully you might help me out there, as I'm probably not the only one
the ned of UNICODE and Java.

best greets & cheers,

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

pgsql-novice by date

Next:From: Chuck KimberDate: 2001-03-22 21:39:39
Subject: RE: Creating tables with Cold Fusion
Previous:From: Frank HilliardDate: 2001-03-22 12:51:44
Subject: Creating tables with Cold Fusion

pgsql-admin by date

Next:From: Subra RadhakrishnanDate: 2001-03-23 10:47:51
Subject: help
Previous:From: J.H.M. Dassen RayDate: 2001-03-22 09:21:35
Subject: Re: psql

pgsql-jdbc by date

Next:From: Aaron BrashearsDate: 2001-03-22 19:00:04
Subject: Re: How to set numeric in PreparedStatement
Previous:From: Wiley, PeterDate: 2001-03-22 15:18:11
Subject: RE: I can't connect

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group