TEncoding.IsStandardEncoding

Check if the encoding is one of the standard encodings

Declaration

Source position: sysencodingh.inc line 63

public 
  class function IsStandardEncoding(AEncoding: TEncoding) : Boolean
                                   ;  Static;

Description

IsStandardEncoding will return True is one of the standard encoding instances TEncoding.ANSI , TEncoding.ASCII , TEncoding.Default , TEncoding.BigEndianUnicode , TEncoding.Unicode , TEncoding.UTF7 or TEncoding.UTF8 . Otherwise it returns False.

See also

Name Description
TEncoding.ANSI Ansi encoding instance
TEncoding.ASCII ASCII encoding instance
TEncoding.BigEndianUnicode Big-endian Unicode (UTF16BE) encoding instance
TEncoding.Default Default codepage
TEncoding.Unicode UTF16 encoding instance
TEncoding.UTF7 UTF7 encoding instance
TEncoding.UTF8 UTF8 encoding instance