bin/87724: cal(1)/ncal(1) not multibyte aware
Rocco Rutte
pdmef at cs.tu-berlin.de
Thu Oct 20 06:50:17 PDT 2005
>Number: 87724
>Category: bin
>Synopsis: cal(1)/ncal(1) not multibyte aware
>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: Thu Oct 20 13:50:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Rocco Rutte
>Release: 5.4-STABLE
>Organization:
Berlin University of Technology
>Environment:
FreeBSD klaus.daprodeges.fqdn.th-h.de 5.4-STABLE FreeBSD 5.4-STABLE #11: Sat Oct 15 11:13:45 UTC 2005 root at klaus.daprodeges.fqdn.th-h.de:/usr/obj/usr/src/sys/klaus i386
>Description:
cal(1)/ncal(1) (at least?) are not multibyte aware. They use %.2s as format to trim strings for output. That may destroy correct multibyte sequences and display garbage.
>How-To-Repeat:
$ LC_ALL=hu_HU.UTF-8 cal
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list