[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#263137: rootskel: serial console won't accept other languages

Package: rootskel
Severity: important
Version: 0.88
Tags: patch


I tried serial console installation for i386, but this looks support
only in English.

languagechooser shows many languages, but for example, when I choice
Japanese, it goes hang up and local characters are hidden (even if I
use UTF-8 serial terminal).

I found a problem in rootskel.

- install in UTF-8 needs setting LANG.
- S40term-linux checks TERM, and set LANG=C.UTF-8 only if TERM=linux.
- When I use serial, no LANG is specified.
- installer works non UTF-8 mode, but messages are still in UTF-8...Many
  strange things occur.

Here is a quick patch. I think this breaks nothing.

Index: S40term-linux
--- S40term-linux       (revision 18822)
+++ S40term-linux       (working copy)
@@ -2,6 +2,7 @@
        if [ "$TERM_TYPE" = virtual ]; then
                echo -ne "\033[9;0]" # Turn off console blanking.

        # Enable UTF-8 locale if it is available
        if [ -d /usr/lib/locale/C.UTF-8 ]; then
@@ -11,4 +12,3 @@
                        echo -ne "\033%G" # Enable UTF-8 console

Reply to: