I'm not using Oracle, but Postgres. The database is in UTF-8 format,
so that "should" be what I'm getting out of it. I'm not getting the
data directly from the database anyway, but via ns_http. I have no
idea how UTF-8S is getting in to the mix other than it's the only
format I can find to convert to that works.
Bas is probably right, I should just do this in pure java. My main
concern is that I'm doing something wrong that's making this harder
than it needs to be. Using the encoding command would be so simple...
I already saw that message, thanks, and have followed it as much as
possible.
janine
On Sep 5, 2007, at 4:17 PM, Dossy Shiobara wrote:
On 2007.09.05, Janine Sisk <[EMAIL PROTECTED]> wrote:
The only conversion that works with the java program is to go utf-8
to utf-8s, which it calls simplified utf-8. Google tells me that
this is a bastardized format of sorts, proposed by Oracle and not
widely accepted.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/
appunicode.htm
| Oracle's AL32UTF8 character set supports 1-byte, 2-byte, 3-byte,
| and 4-byte values. Oracle's UTF8 character set supports 1-byte,
| 2-byte, and 3-byte values, but not 4-byte values.
Are you using Oracle with NLS_LANG set to AL32UTF8, or just UTF8?
I spotted this OpenACS forum message, if you see what to check and/or
change:
http://openacs.org/forums/message-view?message_id=198856
The problem is, Tcl doesn't support utf-8s, and as far as I can tell
there is no other format that will work.
If you tell Oracle you want AL32UTF8, then you'll get UTF-8 as Tcl
expects (and can handle).
-- Dossy
--
Dossy Shiobara | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.