I just need one character that I can set in character arrays indicating that a particular location or a series of locations are free and available for storing data.
I need this because I am making a simple memory pool and need to reset freed blocks and indicate them as free.
Any help would be appreciated.
Unicode defines (less than) 221 characters, which, similarly, map to numbers 0–221 (though not all numbers are currently assigned, and some are reserved). Unicode is a superset of ASCII, and the numbers 0–127 have the same meaning in ASCII as they have in Unicode.
There is actually a truly invisible character: U+FEFF . This character is called the Byte Order Mark and is related to the Unicode 8 system.
Non-ASCII characters are those that are not encoded in ASCII, such as Unicode, EBCDIC, etc. ASCII is limited to 128 characters and was initially developed for the English language.
All ASCII code points are used for characters, but there are plenty of Unicode code points that are guaranteed to not be characters, for example U+FFFF.
I'm not sure of what you would do with this information, though. While the code point is not a valid character you can construct strings that include it. Those strings would not be legal in Unicode, but you seem to imply that you can store any data, not just Unicode text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With