Date: Thu, 20 Oct 2005 13:45:55 GMT From: Rocco Rutte <pdmef@cs.tu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/87724: cal(1)/ncal(1) not multibyte aware Message-ID: <200510201345.j9KDjt12067932@www.freebsd.org> Resent-Message-ID: <200510201350.j9KDoG8n014819@freefall.freebsd.org>
index | next in thread | raw e-mail
>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@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:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510201345.j9KDjt12067932>
