[Quicktip] Convert file encodings with libiconv

If you want to convert the text-files (f.e. source code) to UTF-8 you can use the small and handy tool “iconv“.

Usage example:
iconv -f Cp1252 -t UTF-8 filename.txt > file_converted.txt

Get the windows binary from sourceforge

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s