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
Le 5 nov. 06 à 10:19, Yvon Thoraval a écrit :
Le 5 nov. 06 à 10:13, Alain Matthes a écrit :
/usr/bin/iconv -f ISO-8859-1 -t UTF-8 "$file" > "$file".utf8 && mv "$file".utf8 "$file"
beware this supposed the files are "truly" of ISO-8859-1
Yvon
yes it is preferable this is why a backup is recommended!! but when they are your own files, you know logically which is the encoding !
I wanted only to show one example of what one can do with this tool
Greetings Alain Matthes