From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29053 invoked by alias); 28 Apr 2005 17:42:53 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 29031 invoked by uid 48); 28 Apr 2005 17:42:52 -0000 Date: Thu, 28 Apr 2005 17:42:00 -0000 From: "mnefedov at rogers dot com" To: java-prs@gcc.gnu.org Message-ID: <20050428174251.21267.mnefedov@rogers.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/21267] New: Non-English File Names processed incorrectly in Windows. X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00287.txt.bz2 List-Id: 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\\\\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