10.4.3 Adding support for new code sets
PolyORB allows users to extend the set of supported native character
code sets. Adding support for new character code set consists of the
following steps:
- Developing sets of Converters - special objects that do
marshalling/unmarshalling operations of character data. At least two
Converters are required: for direct marshalling character data in
native code set and for marshalling/unmarshalling character data in
fallback character code set (UTF-8 for char data and UTF-16 for wchar
data). Additional Converters may be developed for marshalling character
data in conversion code set.
- Developing converter factory subprogram for each Converter.
- Registering native code set, its native and fallback converters
and optional conversion char sets and its converters.