------- Comment #3 from serg at vostok dot net  2007-05-15 18:33 -------
For subject 1.

Can java/gcj even be used without iconv in general?
Considering that java.io.File assumes all file names in OS are encoded in UTF-8
and java.String stores it's data in UCS-2 (UTF-16), the answer should be "NO".

TODO: Add a check in configure for presence of a UCS-2* encoding in iconv.

There we can test several well-known encoding names (UCS-2-INTERNAL, UCS-2-LE,
USC-2-BE, UCS-2LE, UCS-2BE) and set HAVE_UCS2 to the name of one with native
byte order, if found. If not, then test for plain UCS-2. If not found - bail
out with a message about needing an iconv with a UCS-2 for java.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31939

Reply via email to