[omniORB] omniORBpy: Problem with IDL string type and iso-8859 encoding ...

Duncan Grisby duncan at grisby.org
Fri May 20 13:42:31 BST 2005


On Tuesday 17 May, mcharest at sogetel.net wrote:

[...]
> * When I assign ISO-8859 encoded values (i.e. French accents) to my string 
> attributes in my struct type (Record), I receive the following error:

[...]
> BAD_PARAM: Minor: BAD_PARAM_WrongPythonType, COMPLETED_NO.

I suspect that you are not passing a string in as the argument. Instead,
I expect you have a unicode object. If the IDL says string, you must use
a Python string. Convert your unicode object to a string, and it should
work.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list