User Tools

Site Tools


locale_ascii_2_utf8

Differences

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

Link to this comparison view

Next revision
Previous revision
locale_ascii_2_utf8 [2014/11/04 13:00] – created sweitmannlocale_ascii_2_utf8 [2024/09/25 06:21] (current) – external edit 127.0.0.1
Line 1: Line 1:
-NOT FINISHED! 
- 
 Do the following: Do the following:
  
     for i in `ls -R Swedish-*`; do iconv -f ISO-8859-1 -t UTF8 $i -o UTF8-$i; done     for i in `ls -R Swedish-*`; do iconv -f ISO-8859-1 -t UTF8 $i -o UTF8-$i; done
 followed by: followed by:
-    mcp "Swedish*" "UTF8-#1"+    mkdir utf8 
 +    cp UTF-8utf8 
 +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} = \x27UTF-8\x27; \n/' $i; done
locale_ascii_2_utf8.1415106024.txt.gz · Last modified: 2024/09/25 06:19 (external edit)