--- util-linux-ng-2.17-rc3/text-utils/pg.c 2009-10-16 21:50:03.000000000 +0100 +++ util-linux-ng-2.17-rc3-new/text-utils/pg.c 2009-12-20 23:37:12.000000000 +0000 @@ -448,7 +448,10 @@ pos += TABSIZE - (pos % TABSIZE); break; default: - pos += wcwidth(*p); + if (iswprint(*p)) + pos += wcwidth(*p); + else + pos += wcwidth(L'?'); } if (pos > col) { if (*p == L'\t')