Gjsify LogoGjsify Logo

Hierarchy

  • Encoding

Index

Constructors

  • Creates a new #GtefEncoding from a character set such as "UTF-8" or "ISO-8859-1".

    Parameters

    • charset: string

      a character set.

    Returns Gtef.Encoding

Properties

name: string

Methods

  • free(): void
  • getCharset(): string
  • Gets the character set of the #GtefEncoding, such as "UTF-8" or "ISO-8859-1".

    Returns string

  • getName(): string
  • Gets the name of the #GtefEncoding such as "Unicode" or "Western".

    Returns string

  • isUtf8(): boolean
  • toString(): string
  • Returns the encoding name with the charset in parenthesis, for example "Unicode (UTF-8)". If the name is unknown, just the charset is returned.

    Returns string

  • Gets the list of default candidate encodings to try when loading a file. See gtk_source_file_loader_set_candidate_encodings().

    This function returns a different list depending on the current locale (i.e. language, country and default encoding). The UTF-8 encoding and the current locale encoding are guaranteed to be present in the returned list.

    Returns Gtef.Encoding[]

  • Creates a new #GtefEncoding from a character set such as "UTF-8" or "ISO-8859-1".

    Parameters

    • charset: string

      a character set.

    Returns Gtef.Encoding

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method