Where is gnu.gcj.convert.Output_UTF8?

Michael Koch konqueror@gmx.de
Tue Oct 5 06:16:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 5. Oktober 2004 08:07 schrieb Clemens Eisserer:
> Hi there!
>
> I wrote an applikation that talk via a servlet using UTF8-URLs,
> running under Linux (GCJ 3.3.3) I dont have any problems at all,
> however with the mingw-build (from thisiscool.com) I get the
> following error:
>
> java.io.UnsupportedEncodingException: UTF8
> (java.lang.ClassNotFoundException: gnu.gcj.convert.Output_UTF8 not
> found in [file:.\, core:/])
>
> I searched in gcj-3.4 sources for the file so I could link it to
> the app seperat but was not able to find it, in the whole GCJ-3.4
> (orginial, not the source from thisiscool) there was no
> Output_UTF8.java or something else.

It' there in libjava/gnu/gcj/convert/Output_UTF8.java.

We had some reports lately about windows and encodings. The problem 
seems to be mostly that when statically linking the linker removes 
all unused stuff. gnu.gcj.convert.Output_UTF8 isn't used by default.
A workaround might be to explicitely use the class like this in your 
app:

Class utf8output = gnu.gcj.convert.Output_UTF8.class


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYj3YWSOgCCdjSDsRAnqzAJ95WboTCPNJgIwuefbE8R49n9h+vACggBtl
poED4Tx8mYVqXNrkND5DXQA=
=skYD
-----END PGP SIGNATURE-----



More information about the Java mailing list