[omniORB] corbaloc and encoding
Antonio Beamud Montero
antonio.beamud at gmail.com
Wed Nov 19 16:17:39 GMT 2008
El mié, 19-11-2008 a las 14:55 +0000, Duncan Grisby escribió:
> On Thursday 6 November, Antonio Beamud Montero wrote:
> > I'm using a omniorb client and server and they by default are using
> > nativeWCharCodeSet = UTF-16, why not use this defaults?
>
> Because the CORBA spec says that if an object reference has no encoding
> information, the default is ISO-8859-1 for strings and no setting for
> wstrings.
Ok.
> > or, is now posible to specify the enconding in the corbaloc?
>
> You can't! You should use the corbaloc to reference a bootstrap object
> that returns the real object reference for your service. That way, the
> object reference will include full code set information and everything
> will work.
Yes, I've created a Factory object, accessible via corbaloc, where I
register the rest of the references and act like a Name Service, but
with additional facilities.
A lot of thanks.
> Cheers,
>
> Duncan.
>
More information about the omniORB-list
mailing list