AvalonEdit
IsUnicode Method (encoding)
NamespacesICSharpCode.AvalonEdit.UtilsFileReaderIsUnicode(Encoding)
Gets if the given encoding is a Unicode encoding (UTF).
Declaration Syntax
C#Visual BasicVisual C++
public static bool IsUnicode(
	Encoding encoding
)
Public Shared Function IsUnicode ( _
	encoding As Encoding _
) As Boolean
public:
static bool IsUnicode(
	Encoding^ encoding
)
Parameters
encoding (Encoding)
Remarks
Returns true for UTF-7, UTF-8, UTF-16 LE, UTF-16 BE, UTF-32 LE and UTF-32 BE. Returns false for all other encodings.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238