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 setSourceCharSet(java.lang.String charset) method. For example:

objFilter.setSourceCharSet(sourceCharSet);

You can specify the target character set when you instantiate the Filter object. For example:

Filter objFilter = new Filter("YOUR_KEYVIEW_LICENSE", Filter.CHARSET_UTF8, 0);