﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3731	Binary() performs hidden and wrong conversion on strings	jchd18	Jon	"One would expect Binary(<string>) to return the binary image of <string> but it's not (at all) so.
The string below contains the first 5 ASCII letters, a space and the corresponding 5 Greek letters.
{{{
ConsoleWrite(Binary(""ABCDE ΑΒΓΔΕ"") & @LF)
}}}
In memory the string looks like this:
{{{
0041 0042 0043 0044 0045 0020 0391 0392 0393 0394 0395
}}}
and this is what one would expect from invoking Binary(), since AutoIt uses UCS2 (UTF16-LE limited to the Unicode BMP.)

Instead we get something completely unuseable.  First the Greek letters Alpha, Beta, Delta and Epsilon appear as question marks (no equivalent in ASCII) but the letter Gamma surprisingly gets converted to ASCII G.
{{{
0x4142434445203F3F473F3F
}}}


"	Bug	assigned		AutoIt	3.3.14.5	None			
