dict.cc dictionary

ParserBase.getEncoding Method 

Returns encoding of the dictionary file

[Visual Basic]
Public Shared Function getEncoding( _
   ByVal aType As DictType _
) As Encoding
public static Encoding getEncoding(
   DictType aType


the type of the dictionary

Return Value

The encoding for the dictionary type. For dict.cc the encoding is cp1252 (presently Encoding.Default is used what may lead to errors on non west european systems, sorry), for UDDL UTF-8 is used, Encoding.UTF8. For any other dictionary types the method returns Encoding.Default.

See Also

ParserBase Class | dict Namespace