iso8859-1, utf8 et sed

Emmanuel Bouthenot kolter at openics.org
Fri Aug 24 11:56:55 CEST 2007


> echo tést|iconv -t ISO8859-1 -f utf8|sed -e 's/[^a-z0-9_\-\.]/_/g;'

je te conseille l'option translit de iconv :

echo tést|iconv -t ascii//translit -f utf8

sinon tu as des outils comme convmv

M.

-- 
Emmanuel Bouthenot
 mail : kolter at openics.org
  gpg : 0x414EC36E
  jid : kolter at im.openics.org
  irc : kolter@(freenode|oftc)


More information about the Shell mailing list