On 25 March 2013 15:28, Leon Timmermans <fawaka@gmail.com> wrote: > On Mon, Mar 25, 2013 at 3:14 PM, demerphq <demerphq@gmail.com> wrote: >> Reini, on Win32 filenames are stored internally as UTF-16. What affect >> does your patch proposal have on opening files with widecharacters in >> them? (Widecharacters as you know could easily contain nuls). > > Perl uses legacy interfaces on Windows (that is, it accesses the > filesystem using 8-bit interfaces, the encoding is system-defined but > tends to be latin-1, which saves our ass most of the time). > > I'd consider this our number one Windows bug (because it screws up > badly when trying to open files with Unicode in their names), but > fixing this will be non-trivial, and few people have the appropriate > Windows knowledge anyway. Im just worried that Reinis null surpression might break something there. Sounds like you think we needn't worry on that point, as such, I wont. :-) -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next