Guest User

Untitled

a guest
Jul 2nd, 2013
40
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Some latin1 latin2 character replacement commands for linux. but first backup your computer / files
  2. source: http://internetlifeforum.com/general-server-webmaster-discussion/473-how-convert-file-one-character-set-another-via-command-line/
  3.  
  4. sed -i 's/ĂŠ/é/g' filename;
  5. sed -i 's/Ă˝/ý/g' filename;
  6. sed -i 's/řĂ/ří/g' filename;
  7. sed -i 's/Ă­Ĺ/íř/g' filename;
  8. sed -i 's/Ă­m/ím/g' filename;
  9. sed -i 's/ĂŠ/é/g' filename;
  10. sed -i 's/ĹĄĂ/ší/g' filename;
  11. sed -i 's/če/če/g' filename;
  12. sed -i 's/řá/řá/g' filename;
  13. sed -i 's/čů/čů/g' filename;
  14. sed -i 's/čí/čí/g' filename;
  15. sed -i 's/ňů/ňů/g' filename;
  16. sed -i 's/ĹĄ/š/g' filename;
  17. sed -i 's/ĹŻ/ů/g' filename;
  18. sed -i 's/jĂ/jí/g' filename;
  19. sed -i 's/jĂ/jí/g' filename;
  20. sed -i 's/Ă­b/íb/g' filename;
  21. sed -i 's/ĂĄ/á/g' filename;
  22. sed -i 's/Ĺ/ř/g' filename;
  23. sed -i 's/Ä/ě/g' filename;
  24. sed -i 's/Ă­ /í /g' filename;
RAW Paste Data