#596 closed Feature Request

String<From/To>ASCIIArray() functions — at Version 4

Reported by: Valik Owned by: Valik
Milestone: 3.2.13.12 Component: AutoIt
Version: Severity: Blocking
Keywords: Cc:

Description (last modified by Valik)

There are potential issues with these functions I need to look at. This is my reminder so I don't forget.

  • StringFromASCIIArray() should return a binary string if there are embedded '\0' characters.
  • StringToASCIIArray() should keep working past any '\0'.
  • Allow specifying the encoding (ANSI/UNICODE) for binary data in StringToASCIIArray(). This flag should only work if the type of input is binary. Strings are treated as UNICODE.
  • Document that when creating an array manually for StringFromASCIIArray() the character values must be specified in UNICODE, not ANSI. That means extended ANSI characters (Those > 127) will need converted to their UNICODE values.
  • Document that StringToASCIIArray() already returns UNICODE values.
  • Fix crash in StringToASCIIArray().

Change History (4)

comment:1 by Valik, on Sep 28, 2008 at 7:20:48 PM

Description: modified (diff)

comment:2 by Valik, on Oct 13, 2008 at 10:51:41 PM

Description: modified (diff)
Summary: String<From/To>ASCII() functionsString<From/To>ASCIIArray() functions

comment:3 by Valik, on Oct 13, 2008 at 10:53:46 PM

Description: modified (diff)

comment:4 by Valik, on Oct 26, 2008 at 5:19:32 PM

Description: modified (diff)
Note: See TracTickets for help on using tickets.