Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC / Oracle: Characterset?

Hello
I am a complete N00b in Oracle, so please forgive me if this question is in any way obvious to answer...
-> RTC instructions tell to use "UTF-8" for the characterset in Oracle.

Our Oracle guys asked back two question:
- UTF8 or AL32UTF8?
- Please tell me what do you want for characterset and what for national characterset?

--> Seems like Oracle uses two different UTF-8 implementations, and it seems like there are two charactersets to define in Oracle.

What are the correct answers for Oracle?

Thanks! Martin

P.S. It is Oracle 11g, and yes I know that this version in only supported officially with RTC 3 (and that there is a workaround for RTC 2).

0 votes



One answer

Permanent link
The only difference between AL32UTF8 and UTF8 character sets is that AL32UTF8 stores characters beyond U+FFFF as four bytes (exactly as Unicode defines UTF-8). Oracles UTF8 stores these characters as a sequence of two UTF-16 surrogate characters encoded using UTF-8 (or six bytes per character). Besides this storage difference, another difference is better support for supplementary characters in AL32UTF8 character set.

As this storage difference has no impact on RTC, but just the database, either should work fine. However, the one that was tested was UTF8 so that is what we would recommend.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 20 '10, 2:32 a.m.

Question was seen: 4,300 times

Last updated: Oct 20 '10, 2:32 a.m.

Confirmation Cancel Confirm