﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
894	StringToASCIIArray() with UTF-8 encoding gives wrong result	O'Ehby		"StringToASCIIArray() with UTF-8 encoding gives wrong result
{{{
Local $str = BinaryToString(Binary(0xB2CEB1CE), 4)		; converting 2 utf-8 symbols (CE B1 - alpha, CE B2 - beta) to string
MsgBox(1, ""utf-8 string"", $str)					; test if symbols are properly converted
Local $arr = StringToASCIIArray($str, 0, Default, 2)		; convert string to array of utf-8 charcodes

$str = ""[""
Local $i

For $i = 0 To UBound($arr) - 1
	$str &= StringFormat(""0x%X, "", $arr[$i])		; get array content. expecting [0x0000B1CE, 0x0000B2CE], right?
Next
MsgBox(1, ""utf-8 array"", StringTrimRight($str, 2) & ""]"")	; see [0xFFFFFFB1, 0xFFFFFFCE]
}}}
Environment = 3.3.0.0 under  WIN_XP/Service Pack 2 X86"	Bug	closed		AutoIt	3.3.0.0	None	No Bug	StringToASCIIArray UTF-8	
