|
|
|
|
|
PROPERTY: |
|
|
|
charSet |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
Indicates the character set into which the contents of text stream are to be translated. |
||
|
|
|
|
|
PROPERTY OF: |
|
|
|
|
||
|
|
||
|
DEFAULT VALUE: |
|
|
|
Unicode |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
Sets or returns a String value that specifies the character set into which the contents of the Stream will be translated. |
||
|
Allowed values are typical strings passed over the interface as Internet character set names (for example, "iso-8859-1", "Windows-1252", and so on). |
||
|
For a list of the character set names that are known by a system, see the subkeys of HKEY_CLASSES_ROOT\MIME\Database\Charset in the Windows Registry. |
||
|
|
||
|
In a text stream object, text data is stored in the character set specified by the charSet property. |
||
|
This property is used for converting data going into the stream or coming out of the stream. |
||
|
For example, if the stream contains ISO-8859-1 data, the stream object will convert the data to Unicode. The reverse is also true. |
||
|
|
|
|
|
If you set this property when stream object is open, the current position will be moved at the beginning of the stream (0). |
||
|
|
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|