cannot send MicroSoft Word specific characters to CORBA Server
1 posts in topic
Flat View  Flat View

Posted By:   sonal_joshi
Posted On:   Wednesday, November 2, 2005 01:08 PM


I am sending a String to CORBA Server. This String contains MicroSoft Word Specific chacters like this quotes “this is a test”. The CORBA Server gives me this exception

Corba error : org.omg.CORBA.DATA_CONVERSION vmcid: OMG minor coe: 1 completed: NO

I want to retain this character. Is there any way I can get rid of this CORBA exception?


Re: cannot send MicroSoft Word specific characters to CORBA Server

Posted By:   Anonymous  
Posted On:   Monday, November 21, 2005 11:25 PM

One simple way to send special characters like quotes, when you don't want the parser to interpret them, and this is how sending strings over xml or http works, is to encode it, for example the 'and' symbol is encoded as &, so as to 'escape' it's usual meaning, i.e. the next value in a list of paramereters, see the url for this post. You'd need an encoder class for the client, and an unencoder class for the server.


Another way would be to use the octet type.
About | Sitemap | Contact