qdiff encoding list shows twice

Bug #781680 reported by Daniel Cordeiro on 2011-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Low
Unassigned
qbzr (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: qbzr

bzr qdiff dialog have a list of left and right side encoding. In this list, utf-8 appears twice: both as utf-8 and UTF-8 (capitalized). All other encodings appears in lower-case.

A small annoyance, but still a bug. :)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: qbzr 0.20.0-1
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu May 12 10:35:35 2011
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=pt_BR.UTF-8
 LANGUAGE=pt_BR:en
SourcePackage: qbzr
UpgradeStatus: Upgraded to natty on 2011-04-19 (22 days ago)

Daniel Cordeiro (dcordeiro) wrote :
Alexander Belchenko (bialix) wrote :

utf-8 comes from our own internal list of supported encodings, while UTF-8 comes from your system. I think we just should lower() the outside value.

Changed in qbzr:
status: New → Confirmed
importance: Undecided → Low
tags: added: easy
Alexander Belchenko (bialix) wrote :

Can you show me the output of the following command:

python -c " from bzrlib import osutils; print osutils.get_user_encoding(), osutils.get_terminal_encoding() "

Daniel Cordeiro (dcordeiro) wrote :

Sure:

$ python -c "from bzrlib import osutils; print osutils.get_user_encoding(), osutils.get_terminal_encoding()"
UTF-8 UTF-8

DanielCordeiro пишет:
> Sure:
>
> $ python -c "from bzrlib import osutils; print osutils.get_user_encoding(), osutils.get_terminal_encoding()"
> UTF-8 UTF-8

Thanks. My suspects has been confirmed.
Should be pretty easy to fix by lowering the data.

Jelmer Vernooij (jelmer) on 2011-07-29
Changed in qbzr (Ubuntu):
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers