Re: [Pharo-dev] File path encoding

2018-04-16 Thread Sven Van Caekenberghe
Actually, (from another thread) I think that it is related to how environment variables are accessed. Consider: $ FOO=benoît ./pharo Pharo.image eval 'OSEnvironment current associations' {'TERM_PROGRAM'->'Apple_Terminal'. 'TERM'->'xterm-256color'. 'SHELL'->'/bin/bash'. 'TMPDIR'->'/var/folders

Re: [Pharo-dev] File path encoding

2018-04-16 Thread Ben Coman
>> On 16 Apr 2018, at 13:05, Ben Coman wrote: >> >> On 16 April 2018 at 18:52, Ben Coman wrote: >>> On 16 April 2018 at 17:51, Sven Van Caekenberghe wrote: Hi, Some people raise issues with file path encoding with non-ASCII characters. The following works fine for me (ma

Re: [Pharo-dev] File path encoding

2018-04-16 Thread Sven Van Caekenberghe
> On 16 Apr 2018, at 14:51, Alistair Grant wrote: > > Hi Sven, > > On 16 April 2018 at 13:57, Sven Van Caekenberghe wrote: >> >> Technically, at the File (FilePlugin) level we seem to be able to handle >> paths with strange characters, even on Windows, but somehow, somewhere a >> bogus cal

Re: [Pharo-dev] File path encoding

2018-04-16 Thread Alistair Grant
Hi Sven, On 16 April 2018 at 13:57, Sven Van Caekenberghe wrote: > > Technically, at the File (FilePlugin) level we seem to be able to handle > paths with strange characters, even on Windows, but somehow, somewhere a > bogus call is made during image startup. I'm not going to have time to look

Re: [Pharo-dev] File path encoding

2018-04-16 Thread Sven Van Caekenberghe
Ben, On my machine, macOS 10.13.4, $ pwd /tmp/benoît $ curl get.pharo.org/70+vm | bash % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 3036 100 30360 0 38694 0 --:--

Re: [Pharo-dev] File path encoding

2018-04-16 Thread Ben Coman
On 16 April 2018 at 18:52, Ben Coman wrote: > On 16 April 2018 at 17:51, Sven Van Caekenberghe 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" >> >> (FileLoc

Re: [Pharo-dev] File path encoding

2018-04-16 Thread Ben Coman
On 16 April 2018 at 17:51, Sven Van Caekenberghe 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 <

[Pharo-dev] File path encoding

2018-04-16 Thread Sven Van Caekenberghe
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')