bin/131578: /usr/bin/cal doesn't handle multibyte characters correctly

robert wilson hotaru at thinkindifferent.net
Tue Feb 10 18:30:01 PST 2009


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


More information about the freebsd-bugs mailing list