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 [2023/07/02 14:29] (current) sweitmann
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: 2014/12/30 16:55 (external edit)