locale_ascii_2_utf8
This is an old revision of the document!
Do the following:
for i in `ls -R Swedish-*`; do iconv -f ISO-8859-1 -t UTF8 $i -o UTF8-$i; done
followed by:
mkdir utf8 cp UTF-8* utf8
And then
cd utf8 for file in UTF8-*; do mv "$file" "${file:5}"; done
And finally
for i in *; do sed -i '1s/^/$self{charset} = 'UTF-8'; \n/' $i; done
locale_ascii_2_utf8.1688306040.txt.gz · Last modified: 2024/09/25 06:20 (external edit)