hi! On Wed, Aug 14, 2013 at 7:15 PM, R. S. <rsk82@xxxxxxxx> wrote: > Hello Pierre, > > Wednesday, August 14, 2013, 10:27:24 AM, you wrote: > >> COM is not PHP: You are calling the FileSystemObject's GetFile via COM >> which uses unicode APIs under the hood. Nothing to do with PHP >> streams. > > Yes, I know that, and here COM has no issues with unicode. > > But in my example COM is irrelevant it is used only to get > short path, to be sure that it leads to the unicode file. > You can create unicode file on your own and then try > to open it using short or long paths using any script you like. > And you see that only PHP among all scripting languages in incapable > of getting handle to such files. Even the software that doesn't know > a byte about unicode is capable of doing that but not PHP. Short paths work just fine. Not sure what goes wrong with the COM APIs or this test script. But: $shortpath= 'TESTUN~1.PHP'; $handle = fopen($shortpath, 'w'); works just fine. Cheers, -- Pierre @pierrejoye | http://www.libgd.org -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php