templates_ascii_2_utf8
This is an old revision of the document!
Start by making copies of your templates and add “UTF8-” in front of each file name:
for i in `ls -R *.tex`; do iconv -f ISO-8859-1 -t UTF8 $i -o UTF8-$i; done
Then create a folder and move the new files into that folder:
mkdir iso mv UTF8-* iso
Now navigate into the new folder and remove the “UTF8-” part of the file names:
for file in UTF8-*; do mv "$file" "${file:5}"; done
Finally change the “latin1” packages called in each file and insert “utf8” istead:
find -type f -exec sed -i 's/latin1/utf8/g' {} \;
That's it!
templates_ascii_2_utf8.1457858606.txt.gz · Last modified: 2024/09/25 06:19 (external edit)