[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LConvEncoding' (#lazutils)

GetSupportedEncodings

Adds supported encoding names for the platform to the specified string list.

Declaration

Source position: lconvencoding.pas line 224

procedure GetSupportedEncodings(

  List: TStrings

);

Arguments

List

  

String list updated with the supported encoding names.

Description

GetSupportedEncodings is a procedure used to get the names for the supported encodings on the platform or operating system. GetSupportedEncodings adds each of the encoding names to List; it does NOT remove any existing content in the string list.

GetSupportedEncodings stores the following values in the List argument:

For platforms that support Asian code pages, the following encoding names are added to the list:

The following encoding names are added to the end of the list:

GetSupportedEncodings is used to implement the encodings menu for the source editor in the Lazarus IDE, and to implement the TIpHtmlParser class from the Turbo Power IPro package.