Hello, I have a curious problem. I have some servlets that generate PDF. This works very fine. Recently I change the code of the PDF classes to improve performance: I now generate PDF documents in which the 'streams' are compressed using java.io.DeflaterOutputStream. My code works fine on our Solaris Server, but doesn't work at all on my Windows development machine: all PDF pages are blank. My code is 100% pure JAVA, but I use 2 functions that are platform dependent, namely getBytes() en the constructor String(bytes[] bytes). I also tried the funtions getBytes(String enc) and the constructor String(bytes[] bytes, String enc). To find the different possible values of enc, I had to unjar rt.jar and to decompile some classes in the package sun.io. (the API isn't documented at all, when it comes to character encoding-names). However I didn't find which encoding name to use yet. I want my code to run on both UNIX and Windows, but I'm running out of options... Bruno ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
