Okapi .NET Library

IFilter.GetCurrentEncoding Method 

 [This is preliminary documentation and subject to change.]

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;

Return Value

The IANA charset name of the current input eencoding.

Remarks

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.

See Also

IFilter Interface | Okapi.Library.Filter Namespace