My only concern is that, in most of the cases where these UTF8
conversions are being done in libgcj, we really want to be able to
convert into any native character set, not just UTF - especially for
windows which afaik does not even use UTF8? So we'll really need
another API entirely.
This other API could also open up a can of worms. The MinGW
port has the issues you mentioned, as indicated here:
http://gcc.gnu.org/ml/java-patches/2003-q2/msg00328.html
...but I don't think that unconditionally going against libiconv is
the answer. MinGW doesn't use libiconv, and we probably
wouldn't need to for WinNT-based MinGW because we could
invoke the Unicode OS API directly.