Skip to main content

JCharset not being recognized in browser



I am working on a simple email client using a Java applet. I am getting the exception "java.io.UnsupportedEncodingException: utf-7" when I open certain emails. I have added JCharset, and that fixes the issue when I run the applet in NetBeans' applet viewer, but when I run it in a browser I get the same exception. I have added the necessary file "java.nio.charset.spi.CharsetProvider" to META-INF/services, which is in my src directory. What else do I need to do to get it to recognize it when I run it in the browser?




Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?