Skip to content


GNU tools on MS-Windows

When you are used to work on a computer with GNU/Linux and are obliged to process your files on a MS-Windows system for some time, the GnuWin32 project can come in handy. They provide a lot of command-line tools from the GNU collection (sed, iconv, tar, bzip2, … see the whole list of packages they provide).

This evening, I needed to convert a lot of files from UTF-8 to iso-8859-1 (because it seems no decent Windows text editor can correctly translate text between these two encodings). Apparently, the GnuWin32 project removed the recode tool. But it can be easily replaced by iconv. With iconv, it’s done with:

iconv -c -f utf-8 -t iso-8859-1 utf8file.txt > iso8859file.txt

Photo credit: “In the beginning…it was the command line” by Dick Mooran on Flickr

Possibly related posts: (automatically generated)

  1. FluTE makefile for wxDev-C++ (Windows)
  2. What is my proxy on Windows XP?
  3. Performance freeze in Windows Task Manager
  4. GUI version of pyP2B
  5. How to test the speed of an internet connection?

Posted in Open Source.

Tagged with , , , , , .