public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/21267] New: Non-English File Names processed incorrectly in Windows.
@ 2005-04-28 17:42 mnefedov at rogers dot com
  2005-04-28 18:52 ` [Bug libgcj/21267] [win32] Non-English File Names processed incorrectly pinskia at gcc dot gnu dot org
  2005-09-24 16:01 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: mnefedov at rogers dot com @ 2005-04-28 17:42 UTC (permalink / raw)
  To: java-prs

This one is difficult. When using java.io.File class Sun VM and gcj produce 
different results.
If create a file name which contains for example Russian Letters in it (you 
can do this: open IE and go to the www.rambler.ru then add this link to the 
Favorites. Now open the dir:

 File dir = new File( "C:\\Documents and Settings\\<user>\\Faforites" );
 
 File [] files = dir.listFiles();

 for( int i = 0; i < files.length; i++ ) {
    String name = files[i].getName();
    if( -1 != name.indexOf( "rambler" ) ) {
        // here you can try to open and let's read it, it will fail in GCJ 
        // but not in SUN VM.
    }

 } 

.

-- 
           Summary: Non-English File Names processed incorrectly in Windows.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mnefedov at rogers dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-11 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21267-8172@http.gcc.gnu.org/bugzilla/>
2012-01-11 13:08 ` [Bug libgcj/21267] [win32] Non-English File Names processed incorrectly rguenth at gcc dot gnu.org
2005-04-28 17:42 [Bug libgcj/21267] New: Non-English File Names processed incorrectly in Windows mnefedov at rogers dot com
2005-04-28 18:52 ` [Bug libgcj/21267] [win32] Non-English File Names processed incorrectly pinskia at gcc dot gnu dot org
2005-09-24 16:01 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).