66. Encoding

Provide the encoding stuff

66.1. Summary of Module Globals

List of Global Functions

List of Global Variables

66.2. Global Functions

66.2.1. Encoding

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

Return value

  • void

66.2.2. GetCodePage

Get Code Page

Function parameters

  • string enc

Return value

  • string

66.2.3. GetEncLang

Get Encoding Language

Return value

  • string - Language

66.2.4. GetUtf8Lang

Get UTF8 Language

Return value

  • boolean

66.2.5. Restore

Restore data to system

Return value

  • string - console encoding

66.2.6. SetEncLang

Set Encoding Language

Function parameters

  • string new_lang

Return value

  • void

66.2.7. SetUtf8Lang

Set UTF8 Language

Function parameters

  • boolean new_utf8

Return value

  • void

66.3. Global Variables

66.3.1. console

Current (ISO) encoding

66.4. Module Requirements

66.4.1. Module Imports

  • Stage

66.4.2. Module Includes