Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to convert single byte characters to UTF8

cardelNov 10 2009 — edited Nov 13 2009
Hi,
I have problem with exporting data to file with UTF8 encoding.

I have varchar2 columns in database with NLS_CHARACTERSET = EE8ISO8859P2 (Czech) and I need to export this columns into file with UTF8 encoding.

So I need to make single byte TO multi byte conversion.

I tried sql CONVERT (CONVERT('my_char','UTF8')) command in forms, but with no effect. Encoding of created file is UTF8 but characters are corupted.

Settings in registry on my client is NLS_LANG = AMERICAN_CZECH REPUBLIC.EE8MSWIN1250

Could you tell me some trick how to export column data with single byte characters to file with UTF8 encoding?

I am using Text_io package to write to file from forms.

Thank You
This post has been answered by Zeeshan BaiG on Nov 12 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2009
Added on Nov 10 2009
11 comments
8,381 views