skip to main content
Configuring Hybrid Data Pipeline Driver for ODBC : Connection properties reference : Enable WChar Support
  

Try Now

Enable WChar Support

Attribute

EnableWCharSupport (EWS)

Purpose

Specifies whether the driver maps character data to the ODBC Unicode data types, such as WCHAR, WVARCHAR, or WLONGVARCHAR. By default, the driver maps character data to the ODBC Unicode data types, sometimes called W-Types. Hybrid Data Pipeline always returns character data as Unicode, using the UTF-8 character encoding.
Some applications do not support the Unicode data types. When using this type of application, disable the Enable WChar Support option. The driver then maps character data to an ANSI Char type, such as CHAR, VARCHAR, or LONGVARCHAR.

Valid Values

1 (Enabled) | 0 (Disabled) 

Behavior

If set to 1 (Enabled), the driver maps character data to the ODBC W-types, such as WCHAR, WVARCHAR, or WLONGVARCHAR. Character data is returned in Unicode when retrieved as SQL_C_DEFAULT.
If set to 0 (Disabled), the driver maps character data to a Char type, such as CHAR, VARCHAR, or LONGVARCHAR. Character data is returned in IANAAppCodePage.

Default

1 (Enabled). The driver maps character data to the ODBC Unicode types.

GUI Tab

Advanced tab