This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for Review: Replace "Unicode to UTF8 conversions" with "Unicode to 'Win32 locale' conversions" when sending/receiving file names to/from Win32 API.


Hi People,

>That is the reason why MS has released this thing:
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/microsoft_layer_for_unicode_on_windows_95_98_me_systems.asp
>
>But I don't think this is a good solution for libgcj... It would have to 
>be linked to libgcj (with probable licensing issues...).

My knee-jerk reaction would be to give the Microsoft Win9X Unicode wrapper
a second look:

- currently, we link it with mingw-runtime which links with msvcrt.dll which
  would probably be subject to the same licensing issues
- the licensing issues would be for Win9X only
- it would eliminate the large character tables and defer this to MS code
- it would be an issue on Win9X only, which is hopefully eventually going
  the way of the dinosaur

This wouldn't solve the problem for Posix, though. João: I thought that your
solution addressed Windows-specific character sets. Is that correct? I haven't
looked at the patch it detail.

I haven't thought all of this out completely, though. Ranjit?

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]