Microsoft SDK for Java

getCharset

This method of the Document class retrieves the character set. This is an alias for the setEncoding method and exists for compatibility reasons only.

Syntax

public final String getCharset();

Return Value

Returns the character set.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.