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 ?
Michael
------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel