Home »
Public Forums »
archive »
Mapping of IDL to Java runtime check
Mapping of IDL to Java runtime check [message #12513] |
Thu, 13 August 1998 00:00 |
Alexander Bj�rnehei
Messages: 1 Registered: August 1998
|
Junior Member |
|
|
Hello!
I'm having trouble with passing String data from Java to a Corba
component. When my Java String data contains swedish national characters
�,�,� I get a CORBA::DATA_CONVERSION error. I've found in an OMG
document section 'Mapping of OMG IDL to Java' that IDL characters ar
8-bits while Java characters are 16-bit Unicode. The OMG document says
that 'range checking for characters in the string shall be done at
marshal time'. I guess that the national characters falls is of range
for the IDL characters.
My question is how do I write this check in Java? How do I convert
Unicode so I fits IDL characters?
Any help would be much appreciated!
/Alexander Bj�rneheim
UpRight Engineering
a.bjorneheim@upright.se
|
|
|
Current Time: Fri Oct 10 16:01:06 PDT 2025
Total time taken to generate the page: 1.36330 seconds