From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 1 11:50:24 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 848C316A4E0 for ; Tue, 1 Aug 2006 11:50:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ABB543D5A for ; Tue, 1 Aug 2006 11:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k71BoDwn099383 for ; Tue, 1 Aug 2006 11:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k71BoD1J099382; Tue, 1 Aug 2006 11:50:13 GMT (envelope-from gnats) Resent-Date: Tue, 1 Aug 2006 11:50:13 GMT Resent-Message-Id: <200608011150.k71BoD1J099382@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tian-Jian Jiang Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60FDF16A573 for ; Tue, 1 Aug 2006 11:43:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E5B943D46 for ; Tue, 1 Aug 2006 11:43:49 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k71Bhnq5069192 for ; Tue, 1 Aug 2006 11:43:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k71BhnPW069191; Tue, 1 Aug 2006 11:43:49 GMT (envelope-from nobody) Message-Id: <200608011143.k71BhnPW069191@www.freebsd.org> Date: Tue, 1 Aug 2006 11:43:49 GMT From: Tian-Jian Jiang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/101166: bittorrent-curses only works under English locales. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 11:50:24 -0000 >Number: 101166 >Category: ports >Synopsis: bittorrent-curses only works under English locales. >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 01 11:50:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tian-Jian Jiang >Release: 6.1 >Organization: IASL, IIS, SINICA >Environment: FreeBSD 6.1-STABLE #20: Tue Jun 6 10:27:46 CST 2006 i386 >Description: If the LC_ALL, LANG or other related locale environment settings are all zh_TW.UTF-8, for example, bittorrent-curses will complain these: Traceback (most recent call last): File "/usr/local/bin/bittorrent-curses", line 561, in ? printHelp(uiname, defaults) File "/usr/local/lib/python2.4/site-packages/BitTorrent/parseargs.py", line 69, in printHelp print makeHelp(uiname, defaults) File "/usr/local/lib/python2.4/site-packages/BitTorrent/parseargs.py", line 65, in makeHelp ret += _("arguments are -\n") + formatDefinitions(defaults, 80) File "/usr/local/lib/python2.4/site-packages/BitTorrent/parseargs.py", line 96, in formatDefinitions s.write(indent + word) UnicodeEncodeError: 'ascii' codec can't encode characters in position 10-12: ordinal not in range(128) >How-To-Repeat: Set LC_ALL, LC_CTYPE or LANG to zh_TW.UTF-8 or zh_TW.Big5, and then execute bittorrent-curses. >Fix: >Release-Note: >Audit-Trail: >Unformatted: