Broken CHARMAP with LANG=C on postinst, affects all installations after 14.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-setup (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
livecd-rootfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This affects all Ubuntu CDs and installations after 14.10.
The VTs are not configured to show UTF-8 characters because of a wrong CHARMAP value at /etc/default/
The cause most probably is that recent console-
# rm /etc/default/
# LANG=C apt-get install --reinstall console-setup
# grep CHARMAP /etc/default/
CHARMAP=
While with C.UTF-8 (or en_US.UTF-8 or whatever) it produces the correct CHARMAP:
# rm /etc/default/
# LANG=en_US.UTF-8 apt-get install --reinstall console-setup
# grep CHARMAP /etc/default/
CHARMAP="UTF-8"
I think this should be fixed in console-setup, but it's possible that the live CD code may want to use LANG=C.UTF-8 in any case.
Changed in console-setup (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Confirmed → In Progress |
> I think this should be fixed in console-setup, but it's possible that the live CD code may want to use LANG=C.UTF-8 in any case.
...I put livecd-rootfs in the affects list, please use LANG=en_US.UTF-8 instead of LANG=C and LC_ALL=C.
$ egrep -r 'LANG=|LC_ALL=' . LANG=C <===== this one build/auto/ build:export LC_ALL=C <====== and this one build/ubuntu- touch/includes. chroot/ etc/default/ locale: LANG="en_ US.UTF- 8" build/ubuntu- touch/hooks/ 48-setup- env.chroot: LANG=en_ US.UTF- 8
./debian/changelog: * Minor cleanups to BuildLiveCD (LANG=C, bump current suite)
./BuildLiveCD:
./live-
./live-
./live-