From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 11 02:30:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59014106566B for ; Wed, 11 Feb 2009 02:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3331A8FC12 for ; Wed, 11 Feb 2009 02:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1B2U1Dt033054 for ; Wed, 11 Feb 2009 02:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1B2U190033053; Wed, 11 Feb 2009 02:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 11 Feb 2009 02:30:01 GMT Resent-Message-Id: <200902110230.n1B2U190033053@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, robert wilson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05EA7106568A for ; Wed, 11 Feb 2009 02:29:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E8D118FC15 for ; Wed, 11 Feb 2009 02:29:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1B2TCqB048751 for ; Wed, 11 Feb 2009 02:29:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1B2TCWK048750; Wed, 11 Feb 2009 02:29:12 GMT (envelope-from nobody) Message-Id: <200902110229.n1B2TCWK048750@www.freebsd.org> Date: Wed, 11 Feb 2009 02:29:12 GMT From: robert wilson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/131578: /usr/bin/cal doesn't handle multibyte characters correctly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 02:30:01 -0000 >Number: 131578 >Category: bin >Synopsis: /usr/bin/cal doesn't handle multibyte characters correctly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 11 02:30:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: robert wilson >Release: 7.1-RELEASE >Organization: >Environment: FreeBSD olorin.thinkindifferent.net 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: /usr/bin/cal outputs incorrect utf-8 in certain locales. a few locales that show this problem are is_IS.UTF-8, es_ES.UTF-8, hu_HU.UTF-8, zh_CN.UTF-8, ja_JP.UTF-8... el_GR.UTF-8 even causes it to crash with a segmentation fault! >How-To-Repeat: execute the command "LC_ALL=is_IS.UTF-8 /usr/bin/cal". or, "LC_ALL=el_GR.UTF-8 /usr/bin/cal". >Fix: >Release-Note: >Audit-Trail: >Unformatted: