Click or drag to resize

UtilGetEncoding Method

Determines a text file's encoding by analyzing its byte order mark (BOM). Defaults to ASCII when detection of the text file's endianness fails.

Namespace: QsInformatica.Utils
Assembly: QsInformatica.Utils (in QsInformatica.Utils.dll) Version: 27.2.0-beta
Syntax
public static Encoding GetEncoding(
	string filename
)

Parameters

filename  String
The text file to analyze.

Return Value

Encoding
The detected encoding.
See Also