qdiff encoding list shows twice

Bug #781680 reported by Daniel Cordeiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Low
Unassigned
qbzr (Ubuntu)
Triaged
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)

Revision history for this message
Daniel Cordeiro (dcordeiro) wrote :
Revision history for this message
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
Revision history for this message
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() "

Revision history for this message
Daniel Cordeiro (dcordeiro) wrote :

Sure:

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

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 781680] Re: qdiff encoding list shows twice

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)
Changed in qbzr (Ubuntu):
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.