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

JavaScript Reference
1. Event Handlers Reference
2. Javascript Collections
3. Javascript Methods
4. Javascript Objects
5. Javascript Properties
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
JavaScript Reference » Javascript Methods » getCharset 
'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
www.java2java.com | Contact Us
Copyright 2010 - 2030 Java Source and Support. All rights reserved.
All other trademarks are property of their respective owners.