String<From/To>ASCIIArray() functions
— at Version 4
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().