3.1.1.4.1.1.2 Disallowed Characters
The following characters are disallowed and MUST NOT be used. The disallowed characters and their appropriate replacement values are noted in the table.
Characters that MUST NOT be used in a file name are shown in the following table.
A character whose value is less than 0x20 MUST be replaced with !00xx where xx is the hexadecimal value of the character (for example, the value of 0x10 is replaced with !0010). A character whose value is greater than or equal to 0x7F MUST be replaced with !00xx where xx is the hexadecimal value of the character (for example, the value of 0x80 is replaced with !0080).
Name |
Character |
Value in !xxxx format |
---|---|---|
Exclamation point |
! |
!0021 |
Inch or quotation mark |
" |
!0022 |
Number sign |
# |
!0023 |
Percent |
% |
!0025 |
Ampersand |
& |
!0026 |
Apostrophe |
' |
!0027 |
Opening parenthesis |
( |
!0028 |
Closing parenthesis |
) |
!0029 |
Asterisk |
* |
!002a |
Plus sign |
+ |
!002b |
Comma |
, |
!002c |
Slash mark |
/ |
!002f |
Colon |
: |
!003a |
Semicolon |
; |
!003b |
Less than sign |
< |
!003c |
Equal sign |
= |
!003d |
Greater than sign |
> |
!003e |
Question mark |
? |
!003f |
Opening bracket |
[ |
!005b |
Backslash |
\ |
!005c |
Closing bracket |
] |
!005d |
Caret or circumflex |
^ |
!005e |
Grave accent |
` |
!0060 |
Opening brace |
{ |
!007b |
Pipe or vertical line |
| |
!007c |
Closing brace |
} |
!007d |