Android vs Windows Phone

I wrote an article for yesterday’s BugSense blog.

Check it here!

I have been into Android development for over 4 years now, since the very start. I started working with the 1.0 emulator, that red rounded device,remember? Its image still reminds me of all the time I wasted, waiting for it to run the application I was developing. Since then, things in the mobile ecosystem have drastically improved and new players joined the mobile revolution. …

Share

Reading windows-1253 in Java

Believe it or not, there are (still) sites out there with the windows-1253 encoding.

As wikipedia and common sense declaires:
It is not fully compatible with ISO 8859-7 (Ά is located differently). UTF-8 is preferred for modern applications.

So, if you ever have to read windows-1253 in one of your applications do it this way:

buffReader = new BufferedReader(new InputStreamReader(inputStreamR, Charset.forName("windows-1253")));
Share