Sat 31 Dec 2005
Often I have had a problem passing text files from a machine to other one, because I loose the especial characters. This happens when the machines use different codification tables.
So at the moment is prevailing the UTF-8, an universal codification table. Now, I try to use this table in my text files. With this purpose I programmed a BASH shell script to change recursively the encoding of every file into a directory to UTF-8 encoding.
Download: 2utf8
The usage is very simple, just execute the script passing the base directory name as parameter.
Important note: This program is GPL so this is distributed whitout any warranty. I can’t guarantee the good operation of this script, make a backup before and USE IT UNDER YOUR OWN RISK.
2006-01-02 a las 10.47 am
Interesante, es algo que ya me había pasado. Yo la converción lo realizaba con el vi, pero veo que con esto se tiene más posibilidades :D. Buen artículo.
2006-01-03 a las 9.21 pm
ja, sos un capo! ojala tuviera un telefonito como ese para usarlo!