[TxMt] Widget creation : awsome and very useful
Alain Matthes
alain.matthes at mac.com
Sun Nov 5 09:13:41 UTC 2006
Hello
This bundle is awsome and very useful.
For people who works with LaTeX and with a lot of files with iso
8859-1 encoding, i make a widget after having looked at the sreencast
#!/usr/bin/env bash
for file in "$@"
do
/usr/bin/iconv -f ISO-8859-1 -t UTF-8 "$file" > "$file".utf8 && mv
"$file".utf8 "$file"
done
Now i can drop all the files of a directory and get utf8 files
(attention : with this script , the old files are lost, perhaps a
backup is necessary before)
Thanks Andy, for this great tool
Alain Matthes
More information about the textmate
mailing list