Opened 13 years ago

Last modified 13 years ago

#596 closed Feature Request

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

Reported by: Valik Owned by: Valik
Milestone: 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 (3)

comment:1 Changed 13 years ago by Valik

  • Description modified (diff)

comment:2 Changed 13 years ago by Valik

  • Description modified (diff)
  • Summary changed from String<From/To>ASCII() functions to String<From/To>ASCIIArray() functions

comment:3 Changed 13 years ago by Valik

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