[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
It has been brought to my attention the following as well from another user: " ... below is our team verified and issue not repro with package installed. Thanks. The issue is NOT reproducible with the package(friendly-recovery_0.2.37ubuntu1). " -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
This bug was fixed in the package friendly-recovery - 0.2.31ubuntu1 --- friendly-recovery (0.2.31ubuntu1) xenial; urgency=medium * /lib/recovery-mode/l10n.sh (LP: #1752362) - Default to LANG "C.UTF-8" and LANGUAGE "en" when locales are part of a language blacklist which doesn't have a good console fonts. -- Eric Desrochers Wed, 28 Feb 2018 15:23:43 -0500 ** Changed in: friendly-recovery (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
This bug was fixed in the package friendly-recovery - 0.2.36ubuntu1 --- friendly-recovery (0.2.36ubuntu1) artful; urgency=medium * /lib/recovery-mode/l10n.sh (LP: #1752362) - Default to LANG "C.UTF-8" and LANGUAGE "en" when locales are part of a language blacklist which doesn't have a good console fonts. -- Eric Desrochers Wed, 28 Feb 2018 15:24:29 -0500 ** Changed in: friendly-recovery (Ubuntu Artful) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
[VERIFICATION ARTFUL] I confirmed after having tested friendly-recovery version 0.2.36ubuntu1 for Artful in Recovery mode, that the proposed package default to English on a Chinese installation where the system variable $LANG is part of the language blacklist. (See "Bug attachment" for a screenshot) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
[VERIFICATION ARTFUL] I confirmed after having tested friendly-recovery version 0.2.31ubuntu1 for Xenial in Recovery mode, that the proposed package default to English on a Chinese installation where the system variable $LANG is part of the language blacklist. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
[VERIFICATION XENIAL] I confirmed after having tested friendly-recovery version 0.2.36ubuntu1 for Artful in Recovery mode, that the proposed package default to English on a Chinese installation where the system variable $LANG is part of the language blacklist. (See "Bug attachment" for a screenshot) ** Tags removed: verification-needed-artful ** Tags added: verification-done-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
[VERIFICATION XENIAL] I confirmed after having tested friendly-recovery version 0.2.31ubuntu1 for Xenial in Recovery mode, that the proposed package default to English on a Chinese installation where the system variable $LANG is part of the language blacklist. (See "Bug attachment" for a screenshot) ** Attachment added: "xenial_verification" https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+attachment/5066389/+files/xenial_verification.png ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
Hello Eric, or anyone else affected, Accepted friendly-recovery into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/friendly- recovery/0.2.36ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: friendly-recovery (Ubuntu Artful) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-artful ** Changed in: friendly-recovery (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
Uploaded for Xenial and Artful. Trusty is not affected. ** No longer affects: friendly-recovery (Ubuntu Trusty) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
debdiff for artful ** Patch added: "artful.debdiff" https://bugs.launchpad.net/ubuntu/xenial/+source/friendly-recovery/+bug/1752362/+attachment/5065499/+files/artful.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
debdiff for xenial ** Patch added: "xenial.debdiff" https://bugs.launchpad.net/ubuntu/xenial/+source/friendly-recovery/+bug/1752362/+attachment/5065498/+files/xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
This bug was fixed in the package friendly-recovery - 0.2.37ubuntu1 --- friendly-recovery (0.2.37ubuntu1) bionic; urgency=medium * /lib/recovery-mode/l10n.sh (LP: #1752362) - Default to LANG "C.UTF-8" and LANGUAGE "en" when locales are part of a language blacklist which doesn't have a good console fonts. -- Eric Desrochers Wed, 28 Feb 2018 11:26:37 -0500 ** Changed in: friendly-recovery (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
** Description changed: [Impact] The menu is garbled in recovery mode when using Chinese characters. [Test Case] 1. Install Ubuntu with selected Simplified Chinese language. 2. Boot to recovery mode. - 3. Most character won't be seen and appear in a square shape. + 3. Most character won't be readable and appear in a square shape. (See "Bug attachment" for a screenshot) [Regression Potential] Regression risk is low. The fix simply, in Recovery mode only, default the system variables to something the console can output when detecting a blacklisted LANG in lib/recovery-mode/l10n.sh It doesn't affect/modify/change/... the system variables when booting in "normal" mode. [Other Info] Old LP reference : https://bugs.launchpad.net/bugs/573502 ** Description changed: [Impact] The menu is garbled in recovery mode when using Chinese characters. [Test Case] 1. Install Ubuntu with selected Simplified Chinese language. 2. Boot to recovery mode. - 3. Most character won't be readable and appear in a square shape. + 3. Most character won't be readable and will appear as black square. (See "Bug attachment" for a screenshot) [Regression Potential] Regression risk is low. The fix simply, in Recovery mode only, default the system variables to something the console can output when detecting a blacklisted LANG in lib/recovery-mode/l10n.sh It doesn't affect/modify/change/... the system variables when booting in "normal" mode. [Other Info] Old LP reference : https://bugs.launchpad.net/bugs/573502 ** Changed in: friendly-recovery (Ubuntu Artful) Importance: Undecided => Medium ** Changed in: friendly-recovery (Ubuntu Xenial) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
mvo uploaded the fix a few minutes ago. ** Changed in: friendly-recovery (Ubuntu Bionic) Status: In Progress => Fix Committed ** Changed in: friendly-recovery (Ubuntu Artful) Status: Confirmed => In Progress ** Changed in: friendly-recovery (Ubuntu Xenial) Status: Confirmed => In Progress ** Changed in: friendly-recovery (Ubuntu Artful) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in: friendly-recovery (Ubuntu Xenial) Assignee: (unassigned) => Eric Desrochers (slashd) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
** Description changed: [Impact] - The menu is garbled in recovery mode when using, for instance, CJK font. + The menu is garbled in recovery mode when using Chinese characters. [Test Case] 1. Install Ubuntu with selected Simplified Chinese language. 2. Boot to recovery mode. 3. Most character won't be seen and appear in a square shape. (See "Bug attachment" for a screenshot) [Regression Potential] Regression risk is low. The fix simply, in Recovery mode only, default the system variables to something the console can output when detecting a blacklisted LANG in lib/recovery-mode/l10n.sh It doesn't affect/modify/change/... the system variables when booting in "normal" mode. [Other Info] Old LP reference : https://bugs.launchpad.net/bugs/573502 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
** Description changed: [Impact] - The menu is garbled in recovery mode when using CJK font in Linux - console. + The menu is garbled in recovery mode when using, for instance, CJK font. [Test Case] 1. Install Ubuntu with selected Simplified Chinese language. 2. Boot to recovery mode. 3. Most character won't be seen and appear in a square shape. (See "Bug attachment" for a screenshot) [Regression Potential] - Regression risk is low. The fix simply default the system variables to + Regression risk is low. + + The fix simply, in Recovery mode only, default the system variables to something the console can output when detecting a blacklisted LANG in - lib/recovery-mode/l10n.sh in Recovery mode only. It doesn't - affect/modify/change/... the system variables when booting in "normal" - mode. + lib/recovery-mode/l10n.sh - + export LANG=C.UTF-8 - + export LANGUAGE=en + It doesn't affect/modify/change/... the system variables when booting in + "normal" mode. [Other Info] Old LP reference : https://bugs.launchpad.net/bugs/573502 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
debdiff for devel release (bionic) ** Patch added: "bionic.debdiff" https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+attachment/5065351/+files/bionic.debdiff ** Description changed: [Impact] The menu is garbled in recovery mode when using CJK font in Linux console. [Test Case] 1. Install Ubuntu with selected Simplified Chinese language. 2. Boot to recovery mode. - 3. Most character won't be seen and appear in a square shape. + 3. Most character won't be seen and appear in a square shape. (See "Bug attachment" for a screenshot) [Regression Potential] Regression risk is low. The fix simply default the system variables to something the console can output when detecting a blacklisted LANG in - lib/recovery-mode/l10n.sh. + lib/recovery-mode/l10n.sh in Recovery mode only. It doesn't + affect/modify/change/... the system variables when booting in "normal" + mode. + export LANG=C.UTF-8 + export LANGUAGE=en [Other Info] Old LP reference : https://bugs.launchpad.net/bugs/573502 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
Example of the recovery mode with zh_CN.UTF-8 (which is 1 of the blacklisted language) ** Attachment added: "recovery-mode-output" https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+attachment/5065332/+files/LANG.png ** Description changed: [Impact] The menu is garbled in recovery mode when using CJK font in Linux console. [Test Case] 1. Install Ubuntu with selected Simplified Chinese language. 2. Boot to recovery mode. - 3. Most character won't be seen and appear in a square shape. + 3. Most character won't be seen and appear in a square shape. + (See "Bug attachment" for a screenshot) [Regression Potential] Regression risk is low. The fix simply default the system variables to something the console can output when detecting a blacklisted LANG in lib/recovery-mode/l10n.sh. + export LANG=C.UTF-8 + export LANGUAGE=en [Other Info] Old LP reference : https://bugs.launchpad.net/bugs/573502 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1752362] Re: garbled recovery mode in Simplified Chinese language OS install
Using root shell, I can reproduce the problem using the command line (not only reproducible in the dialog window) Here's the system variable right after booting in Recovery mode took from the root shell option. --- $ echo $LANG zh_CN.UTF-8 $ echo $LANGUAGE zh_CN:zh --- If I change manually the system variables as follow : -- export LANG=C.UTF-8 export LANGUAGE=en --- The situation disappear. friendly-recovery have a blacklist including a detection for "zh_" mechanism but doesn't seems to default $LANG and $LANGUAGE to good working console value to avoid this situation to happen with CJK font. I have tested the following approach and it works by displaying in english when detect a known font which have not a good console output. -- # blacklist some languages that we don't have a good console fonts for # see bug #573502 in_lang_blacklist() { LANG_BLACKLIST="ar_ he_IL ja_JP ko_KR ru_RU sl_SI vi_VN zh_" LANG=$1 for b in $LANG_BLACKLIST; do # equal to lang.startswith(b) if expr match "$LANG" ^"$b" >/dev/null ; then + export LANG=C.UTF-8 + export LANGUAGE=en return 0 fi done return 1 } # There is no environment set, as these steps are skipped, # so we need to source the variables needed for localization ourselves if [ -r /etc/default/locale ]; then . /etc/default/locale if ! in_lang_blacklist "$LANG"; then export LANG LANGUAGE fi elif [ -r /etc/environment ]; then . /etc/environment if ! in_lang_blacklist "$LANG"; then export LANG LANGUAGE fi fi . gettext.sh export TEXTDOMAIN=friendly-recovery export TEXTDOMAINDIR=/usr/share/locale --- ** Changed in: friendly-recovery (Ubuntu Xenial) Status: New => Confirmed ** Changed in: friendly-recovery (Ubuntu Artful) Status: New => Confirmed ** Changed in: friendly-recovery (Ubuntu Bionic) Status: New => Confirmed ** Changed in: friendly-recovery (Ubuntu Bionic) Importance: Undecided => Medium ** Changed in: friendly-recovery (Ubuntu Bionic) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in: friendly-recovery (Ubuntu Bionic) Status: Confirmed => In Progress ** Also affects: friendly-recovery (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752362 Title: garbled recovery mode in Simplified Chinese language OS install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1752362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs