Howto Convert Text File From UTF-8 to ISO-8859-1 Encoding

Convert a iso-8859-1 charset file into a utf-8 charset file using standard Linux tools.

The solution – using bash shell and using Linux – of course:


iconv --from-code=ISO-8859-1 --to-code=UTF-8 iso.txt > utf.txt

Related posts:

  1. Howto: Convert an OpenSSL key to a public/private OpenSSH key-pair
  2. Bash Shell: Object Oriented
  3. Executing SQL Statements from a Text File
  4. Xen Howto: Install Windows
  5. dos2unix on Ubuntu and Debian
  6. Howto: Create your own Debian or Ubuntu package repository
  7. Howto Install Sun Java on Debian Etch
  8. Howto Install Windows XP / Vista on Xen
  9. Rethinking the GUI (Graphical User Interface) and the CLI (Command Line Interface)
  10. Ubuntu Howto: Install Xen

Popular Related Items »

8 Comments »

  1. Les liens du : 7/8/2007 sur Everybody needs Somebaudy said,

    August 8, 2007 @ 15:06

    [...] » Howto Convert Text File From UTF-8 to ISO-8859-1 Encoding – [...]

  2. safsata - Basamakta durmayın, otomatik kapı kodumu oturtur! said,

    August 19, 2007 @ 13:48

    Character Encoding (Karakter Kodlaması – galiba- ) deÄŸiÅŸtirme….

    Uzun zamandır, yani linuxde adam gibi çalışmaya başladığından beri, sadece UTF-8 karakter kodlamasını kullanıyorum. Bu özellikle birden fazla dil ile aynı anda çalışan kişiler için ideal bir çözüm.
    Az önce yeni denemeye baÅŸladı….

  3. Hakan Ozen said,

    August 1, 2008 @ 15:14

    thanks bro, this is very useful. you saved my day.

  4. safsata.org / thatissopunkrock.org » Blog Archive » Character Encoding (Karakter Kodlamas? - galiba- ) de?i?tirme. said,

    March 19, 2009 @ 15:22

    [...] bir çözüm olabilece?i akl?ma gelmemi?ti. Fakat bu sefer biraz ara?t?rma yap?p bir blogda karakter kodlamalar? aras? dönü?ümün nas?l yap?ld??? bilgisine [...]

  5. Arjan said,

    March 30, 2009 @ 0:23

    So why tricking people in going to your site by listing all the search phrases… :-(

    Rest assured that I’ve hit the “remove from results” button in my Google search.

  6. Martin said,

    May 3, 2009 @ 16:31

    Okay, this is the ugliest seo spam i saw for quite a while, will send out a google spam report.

  7. I do believe I have been bitten by Python « blog.padowi.se said,

    May 30, 2009 @ 11:47

    [...] audience with the great oracle lead me to this blog post and after trying it out manually (which required me to reboot one more time just to verify that the [...]

  8. Konverzija tekstualnih fajlova « Moj život s linuxom said,

    December 30, 2009 @ 14:22

    [...] Izvor: http://mediakey.dk/~cc/howto-convert-text-file-from-utf-8-to-iso-8859-1-encoding/ [...]

RSS feed for comments on this post · TrackBack URI

Leave a Comment