Package: reportbug
Version: 3.33
Followup-For: Bug #398904

This bug happens when generated bug report information countains non-latin
characters. For example, reporting bug for xserver-xorg caused such behavior
because debconf information was included. Debconf has generated a Russian
name for my display and my videocard and when reportbug tryed to include
this, it finished up with this UnicodeDecodeError.

I wonder why Python tries to convert this to Unicode from ASCII, while
I use the ru_RU.UTF-8 locale. It is obvious that all the Russian characters
in my case are already in UTF-8, that is they are two-byte long beginning
with 0xd0. And that is why I got following message:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 604: 
ordinal not in range(128)

I guess now it is no problem for those who knows Python to fix the problem,
so I'm going to kill "moreinfo" tag.


-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/dmitrmax/.reportbugrc:
reportbug_version "3.31"
mode advanced
ui text
email "[EMAIL PROTECTED]"
smtphost "smtp.wplus.net"

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages reportbug depends on:
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-central                0.5.12     register and build utility for Pyt

reportbug recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to