[omniORB] corbaloc & codeset

JiangWei jw.omni at sduept.com
Fri Jul 28 15:41:11 BST 2006


server nativeCharCodeSet: UTF-8
client nativeCharCodeSet: UTF-8

str = ... # UTF-8 string

o = orb.string_to_object('corbaloc::..............')
object = o._narrow(...)
object.echo_string(str)  #throw omniORB.CORBA.DATA_CONVERSION: 
CORBA.DATA_CONVERSION(omniORB.DATA_CONVERSION_BadInput,CORBA.COMPLETED_NO)

object2 = orb.string_to_object('IOR:......................')
object2.echo_string(str)   #OK




More information about the omniORB-list mailing list