In computer science, an illegal character is a character that is not allowed by a certain programming language, protocol, or program.[1] To avoid illegal characters, some languages may use an escape character which is a backslash followed by another character.[2]
Examples
Windows
In the Windows operating system, illegal characters in file and folder names include colons, brackets, question marks,[3] and null characters.[4]
| Character | Name |
|---|---|
| < | less than |
| > | greater than |
| : | colon |
| " | speech marks |
| / | forward slash |
| \ | backslash |
| | | pipe |
| ? | question mark |
| * | asterisk |
References
- ↑ "illegal character | Encyclopedia.com". www.encyclopedia.com. Retrieved 2023-09-07.
- ↑ "Python Escape Characters". www.w3schools.com. Retrieved 2023-09-07.
- ↑ "What Are Illegal Characters? (with pictures)". Easy Tech Junkie. 2023-08-12. Retrieved 2023-09-07.
- 1 2 alvinashcraft (2022-12-15). "Naming Files, Paths, and Namespaces - Win32 apps". learn.microsoft.com. Retrieved 2023-09-07.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.