Re: [Lazarus] LazUtils - TProcessUTF8 - UTF8 Parameters issue

2014-06-29 Thread Michael Thompson
I answered in the forum. Bart Aye, thanks for that. More information. I have now tried every combination of AnsiToUTF8(), UTF8ToAnsi(), SysToUTF8(), UTF8ToSys() and just simply FFilename in both TProcess and TProcessUTF8. All failed (and you can see my machine gun approach confirms my

Re: [Lazarus] LazUtils - TProcessUTF8 - UTF8 Parameters issue

2014-06-29 Thread Reinier Olislagers
On 29/06/2014 11:08, Michael Thompson wrote: I'm strongly leaning towards the possibility that this isn't going to work until win\process.inc itself is upgraded to be unicode aware (ie use CreateProcessW, upgrade CommandToList, and possibly other fixes). I would suspect this to be the case,

Re: [Lazarus] LazUtils - TProcessUTF8 - UTF8 Parameters issue

2014-06-29 Thread Bart
On 6/29/14, Reinier Olislagers reinierolislag...@gmail.com wrote: I'm strongly leaning towards the possibility that this isn't going to work until win\process.inc itself is upgraded to be unicode aware (ie use CreateProcessW, upgrade CommandToList, and possibly other fixes). I would suspect

Re: [Lazarus] LazUtils - TProcessUTF8 - UTF8 Parameters issue

2014-06-29 Thread Michael Thompson
At some point in time I have thougth about completely re-implementing TProcessUTF8 just for that reason but it would mean so much duplicate code (which is a nightmare for maintainers). And all this would then become obsolete once fpc 2.8 comes around So, I gave up. By 2am last night I

Re: [Lazarus] LazUtils - TProcessUTF8 - UTF8 Parameters issue

2014-06-28 Thread Bart
I answered in the forum. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus