57. Encoding

Provide the encoding stuff

57.1. Summary of Module Globals

List of Global Functions

List of Global Variables

57.2. Global Functions

57.2.1. Encoding

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

Return value

  • void

57.2.2. GetCodePage

Get Code Page

Function parameters

  • string enc

Return value

  • string

57.2.3. GetEncLang

Get Encoding Language

Return value

  • string - Language

57.2.4. GetUtf8Lang

Get UTF8 Language

Return value

  • boolean

57.2.5. Restore

Restore data to system

Return value

  • string - console encoding

57.2.6. SetEncLang

Set Encoding Language

Function parameters

  • string new_lang

Return value

  • void

57.2.7. SetUtf8Lang

Set UTF8 Language

Function parameters

  • boolean new_utf8

Return value

  • void

57.3. Global Variables

57.3.1. console

Current (ISO) encoding

57.4. Module Requirements

57.4.1. Module Imports

  • Stage

57.4.2. Module Includes