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