Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 02:29:12 GMT
From:      robert wilson <hotaru@thinkindifferent.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/131578: /usr/bin/cal doesn't handle multibyte characters correctly
Message-ID:  <200902110229.n1B2TCWK048750@www.freebsd.org>
Resent-Message-ID: <200902110230.n1B2U190033053@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902110229.n1B2TCWK048750>