Custom Query (3933 matches)
Results (253 - 255 of 3933)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #894 | No Bug | StringToASCIIArray() with UTF-8 encoding gives wrong result | ||
| Description |
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 |
|||
| #904 | No Bug | ShellExecuteWait Flag Bug | ||
| Description |
Flag Setting (e.g. SW_MAXIMIZE) has no effect. ShellExecute(@ProgramFilesDir & "\AutoIt3\AutoIt3.chm",Default, @SW_MAXIMIZE) ; File will be NOT maximized |
|||
| #907 | No Bug | Local and Global varaibleas has no different | ||
| Description |
See sources: File: main.au3 #include "file1.au3" #include "file2.au3" consoleWrite(x) ; Error compilation? The x duplicate. Why? f() ; Where from а from file1 or file2 File: file1.au3 Local x = 0 ;It is realy Local variable, isn't ? :) Func f() x = 1 ConsoleWrite(x) endfunc File: file2.au3 Local x = 100 ;I would like really Local variable for program Func f() ; analogously make for Local function Local Func f() x = 200 ConsoleWrite(x) endfunc If you replace Local to Global result doesn't change. Why? |
|||
Note:
See TracQuery
for help on using queries.
