Joey Hess wrote: > LOCPATH=./tmp/floppy/tree/usr/lib/locale LC_ALL=C.UTF-8 reduce-font /usr/src/unifont.bdf < all-floppy.utf > unifont-reduced-floppy.bdf.tmp > setlocale: C.UTF-8 > FYI: MB_CUR_MAX/MB_LEN_MAX: 6/16 > error -1 at position 61960 (bytes: 16 Used chars: 446 (61960 processed) > > I remember seeing this a while ago, does anyone know a fix? Binary search finds it's this line: Description-pl.ISO-8859-2: Za³aduj komponenty instalatora z p³yty CD And also this one: Description-hu.ISO-8859-2: TelepÃtõ összetevõinek betöltése CD-rõl And lots more all in ISO-8859-*. For now I am just grepping out everything in ISO-8859-* encodings when calling reduce-font. This may cause problems with stuff in those encodings, I really don't know. Unfortunatly, I then found another one: Description-ja.EUC-JP: CD ¤«¤é¥¤¥ó¥¹¥Ã?¡¼¥é¥³¥ó¥Ã?¡¼¥Ã?¥ó¥Ã?¤ò¥Ã¡¼¥Ã? Seems to me this should really be in utf-8, shouldn't it? I am currently not encluding EUC-JP in the font reduction either. :-( Also, CP1251, that seems to be the last one. So what's the real fix for this? -- see shy jo
Attachment:
signature.asc
Description: Digital signature