ADO CharSet Property


❮ Complete Stream Object Reference

The CharSet property sets or returns a value that specifies into which character-set the contents of the Stream are to be translated (when stored in the Stream object�s buffer). Default is "Unicode".

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 and that data is copied to a BSTR, the Stream object will convert the data to Unicode. The reverse is also true.

Note: This property is only used with text Stream objects (type is adTypeText).

Note: For an open Stream object, the current position must be at the beginning of the Stream (0) to set this property.


Syntax

objStream.Charset

❮ Complete Stream Object Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.