[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

CORBA / Visibroker & I18n

Asked by pankaj_garg in CORBA, C++ Programming Language, Java Programming Language

Tags: Corba, Visibroker, i18n

Hi,
We are working on an application where C++ based components and Java based component communicates with each other using CORBA. Currently only ASCII data is being sent across this CORBA (using Visibroker) layer, which now should support Japanese as well.

Current IDL is using datatype as string and chars, which map to String and char in Java, while maps to char* and char in C++.

-      Is there a way to handle UTF-8 in this layer, without making much changes to IDL.
-      Does Visibroker (v 7.0 SP2) provides any parameter which can be used at the time of IDL compilation to enable UTF-8
-      Or if there is any other approach then please let us know.

Another challenge:
If C++ is running on Linux with encoding as UTF-8, and Java is running on windows with Encoding as SJIS, then how to handle this scenario. Asking this because when Serialization and de-serialization happens, it may use Encoding of the OS. How can we be sure that it always uses a pre-defined encoding.

Any pointers will be helpful.

Thanks
[+][-]09/01/09 08:30 AM, ID: 25232611Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/01/09 10:12 AM, ID: 25233669Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625