Hi > On 06.05.2014 21:31, Michael Michaud wrote: >> Hi, >>> done. works fine on vista, jre6u32 32bit >>> >>> the test i mentioned essentially checks for ansi compatibility of the path. >>> maybe we should tighten it. >>> http://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/src/com/vividsolutions/jump/workbench/imagery/ecw/ECWImageFactory.java#l72 >>>> Don't know exactly what ecw native code can recognize, but ë belongs to >>>> the 8859-1 >>>> charset. >>>> Maybe we should check that the path uses US-ASCII characters only, but >>>> it is much more >>>> restrictive and it's just a guess... >>>> >>> but probably correct, if it fails with special ë. what's it called btw? >>> >>> would you mind trying some more chars from just above the ASCII range? >>> http://soldin.de/about/2003-js_unibook/js-unibook-4.0/unicode.htm >>> the above is a js unicode table creator i did years ago (to check browser >>> unicode capabilities). select 'basic latin' to 'extd. latin' and you get >>> the first 256 chars of which the first 128 are the ASCII range. € seems to >>> be the first non ASCII char. >> Made some more test >> % (pure ascii) : works >> $ (pure ascii) : works >> € (first non ascii) : fails >> é (belongs to both iso-8859-1/latin-1, windows-1252) : fails >> œ (windows 1252 but not iso-8859-1) : fails >> >> Seems safe to check that the path is pure ascii (minus forbidden character) >> > minus? what about space char mentioned by jukka? Space works fine. ~ (#126 = 7E) also works Don't know what ascii #127 is Maybe ascii characters forbidden for character filenames (ex. > or ?) do not need to be checked as there is no chance to find one...
I would say that checking all char are < 127 is OK Michaël > > ..ede > >>> i could do the fix then. >>> >>> ..ede >>> > ------------------------------------------------------------------------------ > Is your legacy SCM system holding you back? Join Perforce May 7 to find out: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel