Skip to main content

Module code_set

Module code_set 

Source
Expand description

CONV_FRAME::CodeSetContext — Codeset-Negotiation-ServiceContext (§13.10.2.5).

module CONV_FRAME {
    typedef unsigned long CodeSetId;
    struct CodeSetContext {
        CodeSetId char_data;
        CodeSetId wchar_data;
    };
};

On the first request the client attaches a ServiceContext with context_id = IOP::CodeSets (1); context_data is a CDR encapsulation (byte-order octet + char_data + wchar_data). The CodeSetId values are determined from the target IOR via [CodeSetComponentInfo] negotiation (see zerodds_corba_ior). The defaults are UTF-8 for char and UTF-16 for wchar — the latter keeps the WString BOM (§15.3.1.6) interoperable with omniORB/TAO/JacORB.

Modules§

well_known
Well-known CodeSetId values (OSF registry, spec §13.10.5.1).

Structs§

CodeSetContext
CONV_FRAME::CodeSetContext — selected transmission codesets.