CharSet

Description

Specifies the character set you want the Sybase Open Client™ software to use when connecting to a Sybase Adaptive Server Enterprise database or a database accessed through DirectConnect.

NoteWhen to specify CharSet You must specify the CharSet parameter before connecting to a database.

Applies to

Syntax

CharSet='character_set'

Default

None

Usage

When you specify a value for CharSet, PowerBuilder:

Overriding the Locale parameter If you have previously set a value for the Locale parameter that includes settings for the language and character set you want to use, you can override the character set value by specifying a new value for the CharSet parameter and reconnecting to the database.

Unicode data access PowerBuilder can access Unicode data in an Adaptive Server Enterprise (ASE) 12.5 or later Unicode database or in Unicode columns in ASE 12.5 or later. PowerBuilder converts between double-byte character set (DBCS) data and Unicode automatically, provided that the CharSet and Language parameters are set with DBCS values (or the Locale parameter is set with DBCS values). For example:

CharSet='big5'

Language='tchinese'

Examples

Example 1

To set the character set to iso_1:

See also