Determining if code-set conversion is needed

The ifx_gl_conv_needed() function determines whether characters encoded in a source code set require conversion to a destination code set. Use this function to determine if code-set conversion is needed.

Comparing the names of the code sets does not provide enough information to determine if it is necessary. In the ifx_gl_conv_needed() function, you can specify the source and destination code sets as any of the following items:
  • Locale names
  • Code-set names
  • The IFX_GL_PROC_CS macro