portindex output depends on the locales

Vincent Lefevre vincent-opdarw at vinc17.org
Wed Feb 7 03:55:47 PST 2007


Hi,

The output of the portindex commands depends on whether the character
set is UTF-8 or, e.g., ISO-8859-1, due to non-ASCII characters in a
description: the number after the port name seems to contain the
number of characters instead of the number of bytes. For instance,
I get:

stardict-xmlittre 310

in ISO-8859-1, but

stardict-xmlittre 308

in UTF-8. Is this difference important?

-- 
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



More information about the macports-dev mailing list