64. Encoding

Provide the encoding stuff

64.1. Summary of Module Globals

List of Global Functions

List of Global Variables

64.2. Global Functions

64.2.1. Encoding

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

Return value

  • void

64.2.2. GetCodePage

Get Code Page

Function parameters

  • string enc

Return value

  • string

64.2.3. GetEncLang

Get Encoding Language

Return value

  • string - Language

64.2.4. GetUtf8Lang

Get UTF8 Language

Return value

  • boolean

64.2.5. Restore

Restore data to system

Return value

  • string - console encoding

64.2.6. SetEncLang

Set Encoding Language

Function parameters

  • string new_lang

Return value

  • void

64.2.7. SetUtf8Lang

Set UTF8 Language

Function parameters

  • boolean new_utf8

Return value

  • void

64.3. Global Variables

64.3.1. console

Current (ISO) encoding

64.4. Module Requirements

64.4.1. Module Imports

  • Stage

64.4.2. Module Includes