Control: forcemerge 257505 -1 On Fri, 2013-08-02 at 08:09:21 +0700, Trần Ngọc Quân wrote: > Package: dpkg > Version: 1.17.0
> Header of the table alignment is incorrect with vi translation: > > ||/ Tên Phiên bản Kiến trúc Mô tả > +++-==============-============-============-================================= > > > I think printf don't support utf-8 because when i change translated > strings to ASCII, it display correctly > > querycmd.c:160 > printf("%c%c%c %-*.*s %-*.*s %-*.*s %.*s\n", c_want, c_status, c_eflag, > fmt->nw, fmt->nw, name, fmt->vw, fmt->vw, version, > fmt->aw, fmt->aw, arch, desc_len, desc); > > I suggest use wprintf(3) instead. But I'm not sure. There's an old bug report with a patch that I reviewed some time ago and applied locally with changes, need to take another look and should be able to push it during the 1.17.x cycle. Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org