76. Encoding

Provide the encoding stuff

76.1. Authors

  • Klaus Kaempf <kkaempf@suse.de>

76.2. Summary of Module Globals

List of Global Functions

List of Global Variables

76.3. Global Functions

76.3.1. Encoding

Constructor does nothing in initial mode restores console encoding from /etc/sysconfig in normal mode

Return value

  • void

76.3.2. GetCodePage

Get Code Page

Function parameters

  • string enc

Return value

  • string

76.3.3. GetEncLang

Get Encoding Language

Return value

  • string - Language

76.3.4. GetUtf8Lang

Get UTF8 Language

Return value

  • boolean

76.3.5. Restore

Restore data to system

Return value

  • string - console encoding

76.3.6. SetEncLang

Set Encoding Language

Function parameters

  • string new_lang

Return value

  • void

76.3.7. SetUtf8Lang

Set UTF8 Language

Function parameters

  • boolean new_utf8

Return value

  • void

76.4. Global Variables

76.4.1. console

Current (ISO) encoding

76.5. Module Requirements

76.5.1. Module Imports

  • Stage

76.5.2. Module Includes