[omniORB] Redhat 9.0 omniORBpy 2.1 and Unicode problems
Duncan Grisby
duncan at grisby.org
Sat Aug 23 11:38:50 BST 2003
On Friday 22 August, Scott Robertson wrote:
> Anyone else run into a problem with unicode strings on redhat 9.0? If I
> make a simple server example that returns a wstring, it will either
> return the string with non printable data inside it or raise this error:
>
> UnicodeError: ASCII encoding error: ordinal not in range(128)
What are you doing when you get that error? Is it when you try to
print it out? If so, the error is because Python is trying to convert
the Unicode to ASCII to print it. Try printing repr() of the string.
If that's not it, can you give more details about at what stage the
error occurs?
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list