User Tools

Site Tools


sed:special_characters:sed_behaving_strangely_in_utf-8_environment

Differences

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

Link to this comparison view

sed:special_characters:sed_behaving_strangely_in_utf-8_environment [2020/08/17 11:03] – created 192.168.1.1sed:special_characters:sed_behaving_strangely_in_utf-8_environment [2020/08/21 12:07] (current) 192.168.1.1
Line 36: Line 36:
 <code bash> <code bash>
 iconv -f latin1 -t utf-8 sourcefile | sed 's/.*/x/' | iconv -f utf-8 -t latin1 iconv -f latin1 -t utf-8 sourcefile | sed 's/.*/x/' | iconv -f utf-8 -t latin1
 +
 +iconv -f ISO-8859-15 -t utf-8 espanol.txt | sed -n '/[[:graph:][:space:]]\{5\}/!p' | iconv -f utf-8 -t ISO-8859-15
 </code> </code>
  
  
sed/special_characters/sed_behaving_strangely_in_utf-8_environment.1597662231.txt.gz · Last modified: 2020/08/17 11:03 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki