company logo

String :: setCodingType - Change string coding type

The function changes the setting for string coding type without changing the text, which must already correspond to the new string coding type.

Return value:  String encoding type ( odaba::StringCodingTypes  )

In case of unknown text encoding type undefinedCoding is used.

Implementation overview

Implementation details

  1. Change string coding type
    odaba::StringCodingTypes String  :: setCodingType ( odaba::StringCodingTypes eStringCodingType )

    The setting for the string coding type is set to the value passed in eStringCodingType.

    • eStringCodingType - String encoding type

      In case of unknown text encoding type undefinedCoding is used.

  2. to list
  3. Change string coding type by string value
    odaba::StringCodingTypes String  :: setCodingType ( odaba::String &sCodingType )

    The setting for the string coding type is set to the value passed in sStringCodingType.

    • sCodingType - String encoding type as string

      In case of unknown text encoding type undefinedCoding is used.

  4. to list