Unix Technical Forum

Unicode Characters

This is a discussion on Unicode Characters within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi I have an xml message which have characters like this ( Ü ) in it. These type of ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:02 PM
shaun.lukhan@eskom.co.za
 
Posts: n/a
Default Unicode Characters

Hi

I have an xml message which have characters like this ( Ü ) in it. These
type of characters are part of a persons name. I am trying to send this name
to an oracle database but I get an error message which says
java.sql.SQLException: Cannot map Unicode to oracle character. The unicode
character looks like this on unix ( FOUCHM-oM-?M-= ).

I am using HPUX 11.11 and oracle 9i.

What do I need to do to send these characters to oracle database ?

Shaun


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:02 PM
Kevin Collins
 
Posts: n/a
Default Re: Unicode Characters

In article <d2gsrn$1neh$2@newsreader02.ops.uunet.co.za>,
shaun.lukhan@eskom.co.za wrote:
> Hi
>
> I have an xml message which have characters like this ( Ü ) in it. These
> type of characters are part of a persons name. I am trying to send this name
> to an oracle database but I get an error message which says
> java.sql.SQLException: Cannot map Unicode to oracle character. The unicode
> character looks like this on unix ( FOUCHM-oM-?M-= ).
>
> I am using HPUX 11.11 and oracle 9i.
>
> What do I need to do to send these characters to oracle database ?


You need to use a Unicode characterset (NLS_CHARACTER=UTF8) in your Oracle
database, I believe. This would be a better question for Oracle or an
Oracle-related newsgroup. I do not know what other changes are required for
your Oracle DB.

FYI - see this bug against sqlplus: 3919801. If you have any code that does
RPAD/LPAD, etc, it may not display correctly. We are just starting to use
Unicode and this has broken several scripts that query Oracle.

Kevin

--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com