Posted:June 5, 2010
Recently, I had a need to convert text from UTF08 to iso-8859-1. Actually, the need was to come up with a more efficient way of doing so. I'll spare you the why, when and where and get right to the how.
After digging into the java.nio.charset.Charset, this is what I came up with the following function. (commented for your viewing... Full Entry »