v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Utility Talk:Accent Removal"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(→‎Linux FTW: new section)
Line 7: Line 7:
 
[[User:Nophotoavailable|Nophotoavailable]] 20:28, 1 August 2008 (EDT)
 
[[User:Nophotoavailable|Nophotoavailable]] 20:28, 1 August 2008 (EDT)
 
:Thanks for this. --[[User:Jackard|Jackard]] 18:47, 10 August 2008 (EDT)
 
:Thanks for this. --[[User:Jackard|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;

Revision as of 02:02, 25 March 2009

Discussion Thread --Jackard 19:15, 26 July 2008 (EDT)

Troubleshooting

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.

Download correct replace script and use it instead of copy-pasting method suggested in second step. Nophotoavailable 20:28, 1 August 2008 (EDT)

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;