comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Mapping of IDL to Java runtime check
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Mapping of IDL to Java runtime check [message #12513] Thu, 13 August 1998 00:00
Alexander Bj�rnehei is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Mapping of IDL to Java runtime check
Next Topic: SPC functions or plots

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:01:06 PDT 2025

Total time taken to generate the page: 1.36330 seconds