Posted on 16 October, 2003 (2 decades ago)
Today, through Java blogs, I came across Joel Spolsky's post regarding The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets. I have to recommend anybody curious about i18n issues to read this very good introduction. I wish I had read that before, two years ago, when I had to deal with different file encodings ;-)
This article remind me of one of my old home projects, back in the summer 2002. I was developing (and I'm still doing so) with IntelliJ IDEA at work, and I had messed up with some critical XML files because I was playing with the default encoding used by IntelliJ in the preferences panel... I was so ashamed that I decided to file some feature requests about automatic charset recognition for my beloved Java IDE. And even better, I coded some java classes that I gave Maxim Shafirov. And my code was finally integrated (perhaps modified to suit their needs) into IDEA 3.0.
For people interested in this package, you can have a look at my project page : [GuessEncoding].
By the way, there are still some improvements that should be included in IDEA 4.0. IDEA EAP users should vote for those two SCR if they feel the need for a more thourough ability to deal with different encoded files :