Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 21st, 2005, 04:14 PM
bbobble bbobble is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Ohio
Posts: 37 bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 h 20 m 9 sec
Reputation Power: 10
Inserting international characters/symbols into db

Okay super long story short:
Have Oracle DB w/NLS_CHARACTERSET = AL32UTF8
I am trying to test this database by inserting some Chinese characters -- problem is, I cannot figure out how to do this.

Any ideas on how I get SQL PLUS to display Chinese Characters (i.e. copy them over from Character Map)? Or how about the Command Line displaying chinese characters?

Or I've stored some in a file, but alas my knowledge of importing a file into Oracle is non-existent.

Spent the entire day reading on this subject and everything I've read today tells me conflicting things (or vague instructions that I can follow to a point and then get stuck).
Does anyone have any suggestions, ideas or other places to point me?

Thanks in advance,
BB

Reply With Quote
  #2  
Old April 24th, 2005, 04:14 AM
shammat shammat is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 996 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 55 m 48 sec
Reputation Power: 66
I don't think SQL*Plus can handle UTF8 characters, but did you try to set NLS_LANG to the correct value?
This might help you to get the correct NLS_LANG settings:

http://www.oracle.com/technology/products/oracle8i/htdocs/faq_combined.htm
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/toc.htm

I had no trouble inserting russian and arabic UTF8 characters in an Oracle8 databse using a Java frontend which is Unicode enabled anyway. So maybe you want to have a look at Unicode/UTF8 enabled frontends to test your database.

A third solution could be SQL*Loader which can handle UTF8 as well. You will need to create a text file with the desired content, write the .ctl file and then import it using SQL*Loader

http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/part2.htm
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch10.htm#1009945

Regards
Thomas

Reply With Quote
  #3  
Old April 26th, 2005, 10:13 AM
bbobble bbobble is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Ohio
Posts: 37 bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level)bbobble User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 h 20 m 9 sec
Reputation Power: 10
Thomas,
Thank you for responding. I am still having troubles but from my reading I can tell I'm not the only one.
Thanks for giving me some good resources...

I do have Toad installed on my machine - of course after researching, I don't have the newest international version (so that's my next option).

Tried SQL Loader as well - not compatible with my database because it doesn't recognize the characterset (it too is the "wrong" or older version).

So at least I have two other paths to take - it's just going to take some time to get there!

Thanks again,
BB

Reply With Quote
  #4  
Old April 26th, 2005, 01:22 PM
shammat shammat is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 996 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 55 m 48 sec
Reputation Power: 66
Quote:
Originally Posted by bbobble
Tried SQL Loader as well - not compatible with my database because it doesn't recognize the characterset (it too is the "wrong" or older version)

You should always install the version of the Oracle client that matches your server version.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Inserting international characters/symbols into db


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway