[xbian-config-bash] UTF-8 support for multi-lingual support #249

Closed
CurlyMoo opened this Issue Jan 25, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@CurlyMoo
Contributor

CurlyMoo commented Jan 25, 2013

To properly implement multi-linguar support into xbian-config, we first need to find a way to enable UTF-8 support in Bash.

English

dialog --msgbox "\n\n    Settings" 10 20

Untitled-2

Czech

dialog --msgbox "\n\n přihlášení" 10 20

Untitled-2

Partial fix

echo -ne '\e%G\e[?47h\e%G\e[?47l'
export LANG=C.UTF-8
export LANGUAGE=C.UTF-8
export LC_CTYPE=C.UTF-8
export LC_NUMERIC=C.UTF-8
export LC_TIME=C.UTF-8
export LC_COLLATE=C.UTF-8
export LC_MONETARY=C.UTF-8
export LC_MESSAGES=C.UTF-8
export LC_PAPER=C.UTF-8
export LC_NAME=C.UTF-8
export LC_ADDRESS=C.UTF-8
export LC_TELEPHONE=C.UTF-8
export LC_MEASUREMENT=C.UTF-8
export LC_IDENTIFICATION=C.UTF-8
export LC_ALL=
dialog --msgbox "\n\n přihlášení" 10 20

Untitled-2

@CurlyMoo

This comment has been minimized.

Show comment Hide comment
@CurlyMoo

CurlyMoo Jan 27, 2013

Contributor

Done with af68aa51c11a8f3e5963884a52687b0fe6a959c2

Contributor

CurlyMoo commented Jan 27, 2013

Done with af68aa51c11a8f3e5963884a52687b0fe6a959c2

@CurlyMoo CurlyMoo closed this Jan 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment