pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
RE: [JDBC] Lost in unicode?
2+ messages / 2 participants
[nested] [flat]

* RE: [JDBC] Lost in unicode?
@ 2001-03-22 16:45  Philip Yue <philip.yue@xmlglobal.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Philip Yue @ 2001-03-22 16:45 UTC (permalink / raw)
  To: Chris Czeyka <czeyka@skwea.co.jp>; pgsql-novice@postgresql.org; pgsql-jdbc@postgresql.org; pgsql-admin

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
www.xmlglobal.com


-----Original Message-----
From: Chris Czeyka [mailto:czeyka@skwea.co.jp]
Sent: Sunday, April 22, 2001 1:29 AM
To: pgsql-novice@postgresql.org; pgsql-jdbc@postgresql.org;
pgsql-admin@postgresql.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
Japanese
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
something,
as of how I can enter data as unicode.

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

best greets & cheers,
chris

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

http://www.postgresql.org/search.mpl



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

* Lost in unicode?
@ 2001-04-22 08:28  Chris Czeyka <czeyka@skwea.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Chris Czeyka @ 2001-04-22 08:28 UTC (permalink / raw)
  To: pgsql-novice@postgresql.org; pgsql-jdbc@postgresql.org; pgsql-admin

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 Japanese
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 something,
as of how I can enter data as unicode.

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

best greets & cheers,
chris



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


end of thread, other threads:[~2001-04-22 08:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-22 16:45 RE: [JDBC] Lost in unicode? Philip Yue <philip.yue@xmlglobal.com>
2001-04-22 08:28 Lost in unicode? Chris Czeyka <czeyka@skwea.co.jp>

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