'getCharset()' Syntax, Parameters and Note : getCharset « Javascript Methods « JavaScript Reference

'getCharset()' Syntax, Parameters and Note

Note:

Returns the character set of the specified font. 
From http://msdn.microsoft.com/workshop/author/dhtml/reference/constants/dlgsafehelper_charset.asp.
The following are the character sets that can be returned from systems running Microsoft Windows 95 and later.
Return Value  Character Set
0  ANSI_CHARSET
1  DEFAULT_CHARSET
2  SYMBOL_CHARSET
128  SHIFTJIS_CHARSET
129  HANGEUL_CHARSET
129  HANGUL_CHARSET
134  GB2312_CHARSET
136  CHINESEBIG5_CHARSET
255  OEM_CHARSET
The following are character sets that can be returned from systems running Microsoft Windows NT 4.0 and later.
Return Value  Character Set
77  MAC_CHARSET
130  JOHAB_CHARSET
161  GREEK_CHARSET
162  TURKISH_CHARSET
163  VIETNAMESE_CHARSET
177  HEBREW_CHARSET
178  ARABIC_CHARSET
186  BALTIC_CHARSET
204  RUSSIAN_CHARSET
222  THAI_CHARSET
238  EASTEUROPE_CHARSET
    
Syntax:
    
document.all.DialogHelperID.getCharset(param1)

Parameters:
    param1   Required; the font name.

    

      
      








Related examples in the same category

1.'getCharset()' Example
2.'getCharset()' is applied to