Set the Character Set During Filtering

You can convert the character set of a file at the time the file is filtered.

To specify the source character set, use the SourceCharSet property. For example:


To specify the target character set, instantiate the Filter object using the constructor Filter(String outputCharSet, UInt32 filterFlags). For example:

objFilter = new Filter(outputCharSet, filterFlags);