← Back to team overview

desktop-packages team mailing list archive

[Bug 1394633] [NEW] Problem with locale codeset UTF-8 vs. UTF8

 

Public bug reported:

Ubuntu 14.04.1 LTS
Kernel 3.18-rc5 (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.18-rc5)

Pre-conditions:
----------------------
A Terminal is opened

Steps:
----------
1. Execute command: locale
2. Launch PowerTop with command: sudo powertop
3. Check tab "Overview"
4. Quit Powertop with [Ctrl] + [C]
5. Execute command: export LANG=en_US.UTF8
6. Relaunch PowerTop and check again


Actual result:
------------------
1. Command returns: LANG=en_US.UTF-8
3. PowerTop gives some durations in µs. "M-BM-5" is displayed instead of "µ"
6. "u" is displayed instead of "µ"

Expected result:
------------------------
"µ" is well displayed

Workaround:
--------------------
Execute command: "export LANG=en_US.UTF8"

Info
---------
I checked with PowerTop' maintener. It seems to be a problem with the locale codeset.
If needed, PowerTop installation:
1. Install packages: g++, autopoint, libpci-dev, autoconf, libncurses, libncurses-dev, libnl-cli, libnl-genl-dev, libtool
2. Clone sources: git clone git://github.com/fenrus75/powertop.git 
3. Compile and Install:
cd powertop
./autogen.sh
./configure
make
sudo make install

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-terminal 3.6.2-0ubuntu1
Uname: Linux 3.18.0-rc5-mainline-3.18-rc5 x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Nov 20 16:53:18 2014
ExecutablePath: /usr/bin/gnome-terminal
InstallationDate: Installed on 2001-01-04 (5068 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to trusty on 2014-05-16 (188 days ago)

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1394633

Title:
  Problem with locale codeset UTF-8 vs. UTF8

Status in “gnome-terminal” package in Ubuntu:
  New

Bug description:
  Ubuntu 14.04.1 LTS
  Kernel 3.18-rc5 (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.18-rc5)

  Pre-conditions:
  ----------------------
  A Terminal is opened

  Steps:
  ----------
  1. Execute command: locale
  2. Launch PowerTop with command: sudo powertop
  3. Check tab "Overview"
  4. Quit Powertop with [Ctrl] + [C]
  5. Execute command: export LANG=en_US.UTF8
  6. Relaunch PowerTop and check again

  
  Actual result:
  ------------------
  1. Command returns: LANG=en_US.UTF-8
  3. PowerTop gives some durations in µs. "M-BM-5" is displayed instead of "µ"
  6. "u" is displayed instead of "µ"

  Expected result:
  ------------------------
  "µ" is well displayed

  Workaround:
  --------------------
  Execute command: "export LANG=en_US.UTF8"

  Info
  ---------
  I checked with PowerTop' maintener. It seems to be a problem with the locale codeset.
  If needed, PowerTop installation:
  1. Install packages: g++, autopoint, libpci-dev, autoconf, libncurses, libncurses-dev, libnl-cli, libnl-genl-dev, libtool
  2. Clone sources: git clone git://github.com/fenrus75/powertop.git 
  3. Compile and Install:
  cd powertop
  ./autogen.sh
  ./configure
  make
  sudo make install

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-terminal 3.6.2-0ubuntu1
  Uname: Linux 3.18.0-rc5-mainline-3.18-rc5 x86_64
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Nov 20 16:53:18 2014
  ExecutablePath: /usr/bin/gnome-terminal
  InstallationDate: Installed on 2001-01-04 (5068 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  SourcePackage: gnome-terminal
  UpgradeStatus: Upgraded to trusty on 2014-05-16 (188 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1394633/+subscriptions


Follow ups

References