From: Brian Z. <bri...@ya...> - 2001-05-29 05:13:47
|
Or if you are willing to go the Java route: the following are result from google newsgroup search: SUN has some classes called sun.misc.BASE64Encoder and sun.misc.BASE64Decoder that should be included in the JDK jar-file. These are unofficial / unsupported classes, and SUN could drop including them in future releases of the JDK. The classes are not documented in the official API docs. Or download from http://java.sun.com/products/javamail/ and use the package javax.mail.internet.MimeUtility http://java.sun.com/products/javamail/javadocs/javax/mail/internet/MimeUtili ty.html for example: output = MimeUtility.encodeText(unicode, "UTF8", "B"); String unicodeString = MimeUtility.decodeText(input); complete javadoc at http://java.sun.com/products/javamail/javadocs/index.html ----- Original Message ----- From: "Chris Meyers" <ch...@hd...> To: <jyt...@li...> Sent: Monday, May 28, 2001 5:30 PM Subject: [Jython-users] Base64 Encoding > Is there a way to do base64 encoding in jython? We have an app where python is base64 encoding data on the server side. On the client side we are using jython, and we can't find a way to unencode it. Anyone out there know of a way to do this? > > TIA > Chris > -- > Chris Meyers > 7941 Tree Lane Suite 200 > Madison WI 53717 > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users > |