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 of a file, after calling fpInit(), call fpSetSrcCharSet(), and set the eCharSet argument.

To determine the final output character set, call the fpGetTrgCharSet() function after filtering is complete.

To specify the target character set, set the outputCharSet argument of the KVFilterInitOptions structure that you pass to fpInit(). To see which character sets can be used as the target character set, see Coded Character Sets.