You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Adam Henderson Azudio <az...@hotmail.com> on 2005/08/15 11:12:01 UTC

OT: File.getName returns filename with question marks

Hi, sorry to post this here but for some weird reason I'm getting  
question marks appearing in the string returned from file.getName() eg:

File f = new File("/Users/me/desktop/cars.jpg");

System.out.println("Filename: " + f.getName()); // Returns something  
like "???cars.jpg"

Goolge drew a blank, anybody got any ideas?

Thanks,

Adam

OS X 10.4.2 / Java 1.5

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org