Paul de Vrieze wrote: > Would it be possible to do automatic detection and unicode conversion in the > portage install stage? I think that would probably be the best option. At a > later stage a simple detection and warning might be sufficient.
Tricky. You can parse a file and check if it's valid UTF-8 but the problem is that you can't be sure if it isn't (eg) just a ISO8859-2 formatted one that happened to have interesting sequence of characters. That said, there are some tools that tries to perform some magic (statistical data analysis etc) and guess the correct encoding. [1] [1] app-i18n/enca, http://trific.ath.cx/software/enca/ HTH, -jkt -- cd /local/pub && more beer > /dev/mouth
signature.asc
Description: OpenPGP digital signature