This documentation is archived and is not being maintained.

InputLanguageChangedEventArgs.CharSet Property

Gets the character set associated with the new input language.

[Visual Basic]
Public ReadOnly Property CharSet As Byte
[C#]
public byte CharSet {get;}
[C++]
public: __property unsigned char get_CharSet();
[JScript]
public function get CharSet() : Byte;

Property Value

An 8-bit unsigned integer that corresponds to the character set, as shown in the following table.

Character Set Value
ANSI_CHARSET 0
DEFAULT_CHARSET 1
SYMBOL_CHARSET 2
MAC_CHARSET 77
SHIFTJI_CHARSET 128
HANGEUL_CHARSET 129
HANGUL_CHARSET 129
JOHAB_CHARSET 130
GB2312_CHARSET 134
CHINESEBIG5_CHARSET 136
GREEK_CHARSET 161
TURKISH_CHARSET 162
VIETNAMESE_CHARSET 163
HEBREW_CHARSET 177
ARABIC_CHARSET 178
BALTIC_CHARSET 186
RUSSIAN_CHARSET 204
THAI_CHARSET 222
EASTEUROPE_CHARSET 238
OEM_CHARSET 255

Remarks

This property is the Win32 character set that the user switched to. On ANSI systems, this property can be used to create fonts that can display the correct character set. On Unicode systems, you typically do not need to use this property. Instead, use the CultureInfo class for these functionalities.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

InputLanguageChangedEventArgs Class | InputLanguageChangedEventArgs Members | System.Windows.Forms Namespace

Show: