Jingdong Sun
2012-09-10 15:55:46 UTC
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>
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>