<font size=2 face="sans-serif">Hi, there,</font>
<br>
<br><font size=2 face="sans-serif">I am using omniORB 4.1.4 for my project.</font>
<br><font size=2 face="sans-serif">Recently, when I testing with multi-culture
characters (such as Chinese), I keep hitting a DATA_CONVERSION exception
from client side.</font>
<br>
<br><font size=2 face="sans-serif">I set up both client side and server
side with following:</font>
<br><font size=2 face="Courier New">omniORB: nativeCharCodeSet =
UTF-8</font>
<br><font size=2 face="Courier New">omniORB: nativeWCharCodeSet
= UTF-16 </font><font size=2 face="sans-serif">(default)</font>
<br><font size=2 face="Courier New">omniORB: validateUTF8 = 0</font><font size=2 face="sans-serif">
(default)</font>
<br>
<br><font size=2 face="sans-serif">But, when I tried to call my interface
and send a char* with multi-bytes characters, I hit following error (with
traceLevel=40):</font>
<br><font size=2 face="Courier New">omniORB: (?) Invoke 'register_entry'
on remote: key<dname></font>
<br><font size=2 face="Courier New">omniORB: (?) throw DATA_CONVERSION
from cs-8bit.cc:257 (NO,DATA_CONVERSION_CannotMapChar)</font>
<br><font size=2 face="Courier New">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</font>
<br><font size=2 face="Courier New">omniORB: (?) Client connection refcount
= 0</font>
<br><font size=2 face="Courier New">omniORB: (?) Client close connection
to giop:tcp:10.6.24.116:39850</font>
<br>
<br><font size=2 face="sans-serif">I wonder when I set nativeCharCodeSet
to UTF8:</font>
<br><font size=2 face="sans-serif">1. How come I hit this error from cs-8bit.cc?</font>
<br><font size=2 face="sans-serif">2. Anything I can do to solve this problem?</font>
<br>
<br><font size=2 face="sans-serif">Thanks.</font>
<br><font size=2 face="sans-serif">Jingdong Sun<br>
InfoSphere Streams Development<br>
Phone 507 253-5958 (T/L 553-5958) <br>
jindong@us.ibm.com</font>