#### 10.4.6 Registering new code sets

Registering new native character data code sets begins from registering new native character data code sets and its native and fallback `Converters`. This is done using `Register_Native_Code_Set`:

       procedure Register_Native_Code_Set
         (Code_Set : Code_Set_Id;
          Native   : Converter_Factory;
          Fallback : Converter_Factory);

or

       procedure Register_Native_Code_Set
         (Code_Set : Code_Set_Id;
          Native   : Wide_Converter_Factory;
          Fallback : Wide_Converter_Factory);

If you have additional conversion code sets Converters you may register it by calling Register_Conversion_Code_Set subprogram:

       procedure Register_Conversion_Code_Set
         (Native     : Code_Set_Id;
          Conversion : Code_Set_Id;
          Factory    : Converter_Factory);

or

       procedure Register_Conversion_Code_Set
         (Native     : Code_Set_Id;
          Conversion : Code_Set_Id;
          Factory    : Wide_Converter_Factory);

Note: because of incompatibility in the support of code sets negotiation in some ORB’s it is recommend to recognize two boolean PolyORB’s parameters:

    [giop]
    giop.add_char_fallback_code_set=false
    giop.add_wchar_fallback_code_set=false

and also register a fallback Converter as conversion Converter if the corresponding parameter is set to True.

Finally, define your preferred native character data code sets by parameters (only integer code sets codes now supported):

    [giop]
    giop.native_char_code_set=16#00010001#
    giop.native_wchar_code_set=16#00010100#