Java OutputStreamWriter is returning “UTF8” instead of “UTF-8”

We found some inconsistencies and lack of documentation in the way OutputStreamWriter getEncoding() method is formatting the returned encoding names. See below, sample programs and output that illustrate the issue. UTF-8 Encoding FileOutputStream stream1 = new FileOutputStream("C:\\test\\out.svg"); OutputStreamWriter writer1 = new OutputStreamWriter(stream1 , "UTF-8"); System.out.println(writer1.getEncoding()); writer1.close();   FileOutputStream stream2 = new FileOutputStream("C:\\test\\out.svg"); OutputStreamWriter writer2 = […]

Read More

Java 1.6 Update 45 is Sooo Buggy

So far, we have identified 2 major issues with Java 1.6 update 45 (32bit and 64bit). Unfortunately. this is the last officially version released for Java 1.6. We recommend using earlier versions of the JVM. We have found that Java 1.6.0_37-b06 is very stable and have been using this version of Java in our desktop PDF editor […]

Read More