[RFC] netx: added encoding support for UTF-16 and UTF-32

Man Wong mwong at redhat.com
Tue Jul 6 09:05:54 PDT 2010


Hi,

This patch adds UTF-16 and UTF-32 encoding support for netx, allowing jnlp files saved under those encoding to launch in netx [1]. Previously, when a jnlp file with UTF-16 or UTF-32 encoding is passed in, netx will throw an exception even though the jnlp file was a valid file. It would be greatly appreciated if someone can look over the code, make sure it is ok and see if additional comments are needed to make the code easier to understand.

Thanks,
Man Lung Wong

[1] http://icedtea.classpath.org/~mwong/webstart/HelloWorld/Test.jnlp (a simple Hello World applet I created to test this patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netx_encoding_support.patch
Type: text/x-patch
Size: 3540 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100706/019e7fb0/netx_encoding_support.patch 


More information about the distro-pkg-dev mailing list