Solved

Oracle 10 EE8MSWIN1250 character set export to UTF-8

Posted on 2009-06-30
6
3,103 Views
Last Modified: 2013-12-19
Hello,

if Oracle database which was created with EE8MSWIN1250, is it possible to export the data as UTF-8 encoded (AL32UTF8).

If not, when data is exported it is EE8MSWIN1250 format. Can I import this into a database created with AL32UTF8 character set. If so what do I have do?

Thanks in advance.
0
Comment
Question by:chuntse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 500 total points
ID: 24745008
Yes, AL32UTF8 will store characters from 1 to 4 bytes wide.

You need to set NLS_LANG=AMERICAN_AMERICA.AL32UTF8 in your shell environment before doing the export and Oracle client will translate.

Set the same in your import environment.

Oracle will translate for you as long as the DB character set is capable of encoding what you give it. In this case AL32UTF8 is a UNICODE set that can pretty much store anything.
0
 

Author Comment

by:chuntse
ID: 24745101
Thanks.

Just to clarity, if I set shell environment to NLS_LANG=AMERICAN_AMERICA.AL32UTF8
Then when I export the data (which is stored in database as EE8MSWIN1250), oracle client will encoded the exported data to AL32UTF8?
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24745218
Yes. Absolutely.

Then when you do the import, Oracle will re-translate to the destination database, if that database character set is compatible.
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24745228
Also pay attention to the export log/output it will report which character set it is using.
0
 

Author Closing Comment

by:chuntse
ID: 31598307
Excellent! Thanks
0
 

Author Comment

by:chuntse
ID: 24745811
If I have stored procedure that triggers the export of data does the NLS_LANG have an effect when the stored procedure is started from Oracle SQL developer?
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question