String :: codingType - Property string coding type
This property holds the string encoding type for the data stored within the string. The default encoding type may differ for different implementation environments. In a C++ environment default coding type is Local8BitString ; in a .NET environment default is UTF16String .
In OSI, the string value (name) from the enumerator will be returned rather than the code value.
In case of unknown text encoding type undefinedCoding is used.
Implementation overview
- Get string encoding type
String :: codingType (  ) - Set encoding type
String :: codingType ( eStringCodingType )
Implementation details
-
Get string encoding type
odaba::StringCodingTypes String  :: codingType (  )
The function returns the current encoding type for the string.
to list
-
Set encoding type
odaba::StringCodingTypes String  :: codingType ( odaba::StringCodingTypes eStringCodingType )
The function sets the encoding type for the string to the value passed in eStringEncodingType . When the encoding type differs from the current string encoding type and the string contains data, string data will be recoded.
- eStringCodingType
- String encoding type
In case of unknown text encoding type undefinedCoding is used.
to list
- eStringCodingType
- String encoding type