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.

I am using Linux 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i386 GNU/Linux
--
Thanks,
Trần Ngọc Quân


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to