develooper Front page | perl.perl5.porters | Postings from March 2013

Re: [perl #117265] [PATCH] e213661 no warnings 'safesyscalls', fatalnul checks

Thread Previous | Thread Next
March 25, 2013 14:34
Re: [perl #117265] [PATCH] e213661 no warnings 'safesyscalls', fatalnul checks
Message ID:
On 25 March 2013 15:28, Leon Timmermans <> wrote:
> On Mon, Mar 25, 2013 at 3:14 PM, demerphq <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About