On 16 April 2018 at 18:52, Ben Coman <b...@openinworld.com> wrote: > On 16 April 2018 at 17:51, Sven Van Caekenberghe <s...@stfx.eu> wrote: >> Hi, >> >> Some people raise issues with file path encoding with non-ASCII characters. >> >> The following works fine for me (macOS, Pharo 7, using new File class): >> >> "works" >> >> (FileLocator temp / 'foo' , 'txt') writeStreamDo: [ :out | out << 'Les >> élèves Français' ; crlf ]. >> >> (FileLocator temp / 'foo' , 'txt') readStreamDo: [ :in | in upToEnd ]. >> >> "works" >> >> (FileLocator temp / 'benoît' , 'txt') writeStreamDo: [ :out | out << 'Les >> élèves Français' ; crlf ]. >> >> (FileLocator temp / 'benoît' , 'txt') readStreamDo: [ :in | in upToEnd ]. >> >> "works" >> >> (FileLocator temp / 'benoît') ensureCreateDirectory. >> >> (FileLocator temp / 'benoît' / 'benoît' , 'txt') writeStreamDo: [ :out | out >> << 'Les élèves Français' ; crlf ]. >> >> (FileLocator temp / 'benoît' / 'benoît' , 'txt') readStreamDo: [ :in | in >> upToEnd ]. >> >> >> Can Linux/Windows users confirm that it works on their platform ? > > Thanks for attacking this. All three work on Windows 10 English locale. > I'd hope it wasn't different with French locale, but wait for a report on > that. > > cheers -ben
I unzipped a fresh download of http://files.pharo.org/platform/Pharo6.1-win.zip * into C:\Temp\Pharo6.1 and immediately copied that directory * into C:\Temp\Pharo6.1.benoît Double-clicking on Pharo.exe * in the former, opens Pharo an expected. * in the latter, does nothing. cheers -ben