Code-set conversion

A character might be encoded differently on two different operating systems. Therefore, the appropriate communication layer must be prepared to convert between the two encodings.

This process of conversion between two code sets is called code-set conversion. Code-set conversion translates code points from a source code set to a destination code set.

Informix® ESQL/C applications automatically perform any needed code-set conversion when they send and receive database data.

The following principles apply when you send and receive database data:
  • DataBlade® client applications automatically perform any needed code-set conversion.
  • DataBlade UDRs do not automatically perform code-set conversion.

For an introduction to code-set conversion, see the Informix GLS User's Guide.

If your application needs to perform code-set conversion, it must:
  • Determine if code-set conversion is needed between the source and target code sets.
  • Perform the code-set conversion on a character string if it is needed.