Gets the current encoding used to process the input file.
[Visual Basic] Function GetCurrentEncoding() As String [C#] string GetCurrentEncoding(); [C++] String* GetCurrentEncoding(); [JScript] function GetCurrentEncoding(): String;
The IANA charset name of the current input eencoding.
As some format may provide mechanism for declaring their encoding, the encoding provided when calling OpenInputFile or OpenInputString may get modified. The GetCurrentEncoding method allows you to retrieve the encoding really used for the processing, after opening the input.
IFilter Interface | Okapi.Library.Filter Namespace