User Tools

Site Tools


templates_ascii_2_utf8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
templates_ascii_2_utf8 [2015/03/09 21:17] sweitmanntemplates_ascii_2_utf8 [2016/03/13 09:04] (current) sweitmann
Line 1: Line 1:
-NOT FINISHED! +Start by converting the content of your template files to UTF8:
- +
-Do the following: +
     for i in `ls -R *.tex`; do iconv -f ISO-8859-1 -t UTF8 $i -o UTF8-$i; done     for i in `ls -R *.tex`; do iconv -f ISO-8859-1 -t UTF8 $i -o UTF8-$i; done
-followed by:+You can now move the new UTF8-template files into another folder: 
 +    mkdir utf8 
 +    mv UTF8-* utf8 
 +Then navigate into the new folder and remove the "UTF8-" part of the file names:
     for file in UTF8-*; do mv "$file" "${file:5}"; done     for file in UTF8-*; do mv "$file" "${file:5}"; done
-followed by:+As a last step you need to exchange the call for "latin1" packages to "utf8" packages instead:
     find -type f -exec sed -i 's/latin1/utf8/g' {} \;     find -type f -exec sed -i 's/latin1/utf8/g' {} \;
 +That's it!
templates_ascii_2_utf8.txt · Last modified: 2016/03/13 09:04 by sweitmann