develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #121783] Windows: UTF-8 encoded output in cmd.exe with code page 65001 causes unexpected output

From:
Tony Cook via RT
Date:
October 16, 2014 03:45
Subject:
[perl #121783] Windows: UTF-8 encoded output in cmd.exe with code page 65001 causes unexpected output
Message ID:
rt-4.0.18-6610-1413430699-1968.121783-15-0@perl.org
On Tue May 27 17:08:24 2014, tonyc wrote:
> As to fixing[1] it, maybe we could add a perlio flag that assumes
> successful writes are always complete, and set that for the Win32
> console.
> 
> Tony
> 
> [1] working around Microsoft's long-standing bug

Here's a patch that does roughly what I suggested, though at the win32_write() level rather than at the PerlIO level.

Tony


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=121783



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About