Utility Talk:Accent Removal
Step by step instruction produces unexpected results because several characters in posted command batch file are getting lost in translation from ASCII into UTF-8 (on the wiki) and back to ASCII after copy-pasting them.
- Thanks for this. --Jackard 18:47, 10 August 2008 (EDT)
 Linux FTW
As all modern Linuxen have iconv installed by default, doing this is very easy. Use this command in a normal Bash shell:
for f in language_*.txt; do iconv -f CP437 -t ASCII//TRANSLIT <$f >$f.new; done; rename ".new" "" *.new;
- Yeah, I just independently discovered this; took me a bit before I figured out it was CP437. However, your "rename" utility seems different than mine. Mine expects a Perl expression, so the proper usage is
rename -f 's/\.new$//' *.new