| Summary | CODESET_INCOMPATIBLE error |
|---|---|
| Article Number | 16448 |
| Environment | All Supported Operating Systems Orbix 6.x |
| Question/Problem Description | When calling an operation in IDL, the CODESET_INCOMPATIBLE error occurs. IDL:omg.org/CORBA/CODESET_INCOMPATIBLE:1.0: minor = 0x49540100 (IT_Core:NEGOTIATION_FAILED), completion status = NO The code set used by the client is different from the one used by the server |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | Transferring code set cannot be determined through the code set negotiation |
| Resolution | Add the code set compatible with the server to the client's conversion code set. The conversion code set can be set with the following configuration valuables: plugins:codeset:char:ccs => for narrow characters plugins:codeset:wchar:ccs => for wide characters |
| Workaround | |
| Notes | Code set negotiation uses the following algorithm to determine which code set to use in transferring data between client and server: 1. If the client and server are using the same native code set, no translation is required. 2. If the client has a converter to the server?fs code set, the server?fs native code set is used as the transmission code set. 3. If the client does not have an appropriate converter and the server does have a converter to the client?fs code set, the client?fs native code set is used as the transmission code set. 4. If neither the client nor the server has an appropriate converter, the server ORB tries to find a conversion code set that both server and client can convert to and from without loss of data. The selected conversion code set is used as the transmission code set. 5. If no conversion code set can be found, the server ORB determines if using UTF-8 (narrow characters) or UTF-16 (wide characters) will allow communication between the client and server without loss of data. If UTF-8 or UTF-16 is acceptable, it is used as the transmission code set. If not, a CODESET_INCOMPATIBLE exception is raised. Reference to the written documentation: CORBA Internationalization |
| Attachment |
| Created date: | 06 September 2011 |
|---|---|
| Last Modified: | 13 February 2013 |
| Last Published: | 23 June 2012 |
| First Published date: | 10 September 2011 |
#KnowledgeDocs
#Orbix