YaST2 Developers Documentation: yast2

yast2

modules/Encoding.ycp
Provide the encoding stuff

This module has an unstable interface.

Imports

  • Stage

Global Variables

Global Functions

global console -> string

Current (ISO) encoding

global Restore () -> string

Restore data to system

Return value:
console encoding
global SetEncLang (string new_lang) -> void

Set Encoding Language

Parameters:
new_lang New Language
global GetEncLang () -> string

Get Encoding Language

Return value:
Language
global SetUtf8Lang (boolean new_utf8) -> void

Set UTF8 Language

Parameters:
new_utf8 New UTF8 Language
global GetUtf8Lang () -> boolean

Get UTF8 Language

global GetCodePage (string enc) -> string

Get Code Page

Parameters:
enc Encoding
global Encoding () -> void

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