[omniORB] DATA_CONVERSION problem with omniORB 4.1.4
Jingdong Sun
jindong at us.ibm.com
Mon Sep 10 16:55:46 BST 2012
Hi, there,
I am using omniORB 4.1.4 for my project.
Recently, when I testing with multi-culture characters (such as Chinese),
I keep hitting a DATA_CONVERSION exception from client side.
I set up both client side and server side with following:
omniORB: nativeCharCodeSet = UTF-8
omniORB: nativeWCharCodeSet = UTF-16 (default)
omniORB: validateUTF8 = 0 (default)
But, when I tried to call my interface and send a char* with multi-bytes
characters, I hit following error (with traceLevel=40):
omniORB: (?) Invoke 'register_entry' on remote: key<dname>
omniORB: (?) throw DATA_CONVERSION from cs-8bit.cc:257
(NO,DATA_CONVERSION_CannotMapChar)
omniORB: (?) Unexpected error encountered in talking to the server
giop:tcp:10.6.24.116:39850. The connection is closed immediately. GIOP_C
state 2, strand state 0
omniORB: (?) Client connection refcount = 0
omniORB: (?) Client close connection to giop:tcp:10.6.24.116:39850
I wonder when I set nativeCharCodeSet to UTF8:
1. How come I hit this error from cs-8bit.cc?
2. Anything I can do to solve this problem?
Thanks.
Jingdong Sun
InfoSphere Streams Development
Phone 507 253-5958 (T/L 553-5958)
jindong at us.ibm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120910/d198cbb0/attachment.html>
More information about the omniORB-list
mailing list