﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3764	ConsoleWrite binary mode	divinity76@…	Jon	"ConsoleRead has a binary mode, so it seems fitting that ConsoleWrite should have a binary mode as well. for backwards-compatibility it should be off-by-default and optional, i suggest changing it to

{{{
ConsoleWrite ( ""data"" [, binary = False] )
}}}

here is test code to see how ConsoleWrite currently handles binary data:
{{{
$test="""";
for $i = 0 To 255
   $test = $test & Chr($i);
Next
ConsoleWrite($test);
}}}

- it prints absolutely nothing, because ConsoleWrite stops writing at the first null-byte, which is generated by the first Chr($i=0) call. related forum thread at https://www.autoitscript.com/forum/topic/202893-are-string-variables-binary-safe/"	Feature Request	closed	3.3.16.1	AutoIt		None	Fixed	ConsoleWrite	
