69. Encoding

Provide the encoding stuff

69.1. Authors

  • Klaus Kaempf <kkaempf@suse.de>

69.2. Summary of Module Globals

List of Global Functions

List of Global Variables

69.3. Global Functions

69.3.1. Encoding

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

Return value

  • void

69.3.2. GetCodePage

Get Code Page

Function parameters

  • string enc

Return value

  • string

69.3.3. GetEncLang

Get Encoding Language

Return value

  • string - Language

69.3.4. GetUtf8Lang

Get UTF8 Language

Return value

  • boolean

69.3.5. Restore

Restore data to system

Return value

  • string - console encoding

69.3.6. SetEncLang

Set Encoding Language

Function parameters

  • string new_lang

Return value

  • void

69.3.7. SetUtf8Lang

Set UTF8 Language

Function parameters

  • boolean new_utf8

Return value

  • void

69.4. Global Variables

69.4.1. console

Current (ISO) encoding

69.5. Module Requirements

69.5.1. Module Imports

  • Stage

69.5.2. Module Includes