Florin Lipan

Welcome to my personal website.

Scroll down for my blog.

I'm a Ruby developer with a strong devops background and leadership experience. I have a personal interest in languages like Crystal and Rust. I like building things.

If you'd like to know more, check out my projects on GitHub, join me on LinkedIn, follow me on Twitter or just write me an email. You can find my CV here.

↞ Back

Linux: How to change the file encoding from the command line

Let’s say you have a file encoded as ISO-8859-16 and would like to turn it into UTF-8.

You can use iconv to accomplish that:

iconv -f ISO_8859-16 -t UTF-8 -o output.txt input.txt

In case you’d like to convert to or from a different encoding, you can list all encodings known to iconv by calling:

iconv -l
Share on Hacker News
Share on Reddit