Michael Bedward ha scritto: > I'm trying to understand this problem. If I do this: > > File f = File.createTempFile("test-shp", ".shp"); > URL url1 = f.toURL(); > System.out.println(url1); > URL url2 = f.toURI().toURL(); > System.out.println(url2); > > I get output like this: > file:/var/folders/bS/bSZ9Hxj+Fr40rwgVRfAAvU+++TI/-Tmp-/test-shp4204856090442306733.shp > file:/var/folders/bS/bSZ9Hxj+Fr40rwgVRfAAvU+++TI/-Tmp-/test-shp4204856090442306733.shp > > Which looks OK. So when is it that special chars are not being > correctly dealt with ?
Not sure. It would be interesting if you could apply the patch attached to the jira to your checkout and see if it works any better for you thought Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel