OpenPop.NET POP3 Library Documentation

EncodingFinder Class

Utility class used by OpenPop for mapping from a characterSet to an Encoding.

The functionality of the class can be altered by adding mappings using AddMapping and by adding a FallbackDecoder.

Given a characterSet, it will try to find the Encoding as follows:

  1. If a mapping for the characterSet was added, use the specified Encoding from there. Mappings can be added using AddMapping.
  2. Try to parse the characterSet and look it up using GetEncoding for codepages or GetEncoding for named encodings.
  3. If an encoding is not found yet, use the FallbackDecoder if defined. The FallbackDecoder is user defined.

For a list of all members of this type, see EncodingFinder Members .


public static class EncodingFinder

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Namespace: OpenPop.Mime.Decode

Assembly: OpenPop (in OpenPop.dll)

See Also

EncodingFinder Members | OpenPop.Mime.Decode Namespace