...
Wiki Markup |
---|
There are several national variants of ASCII. As a result, the original ASCII is often referred as US-ASCII. ISO/IEC 646-1991 defines a character set similar to US-ASCII, but with code positions corresponding to US-ASCII characters {{@\[\]\{\|\}}} as _national use positions_ \[[ISO/IEC 646-1991|AA. References#ISOBibliography#ISO/IEC 646-1991]\]. It also gives some liberties with the characters {{\#$^`\~}}. In ISO 646, several national variants of ASCII have been defined, assigning different letters and symbols to the national use positions. Consequently, the characters that appear in those positions, including those in US-ASCII, are less portable in international data transfer. Consequently, due to the national variants, some characters are less portable than others --- they might be transferred or interpreted incorrectly. |
...
Wiki Markup |
---|
As a result of the influence of MS-DOS, file names of the form {{xxxxxxxx.xxx}}, where x denotes an alphanumeric character, are generally supported by modern systems. On some platforms, file names are case sensitive, while on other platforms they are case insensitive. VU#439395 is an example of a vulnerability resulting from a failure to deal appropriately with case sensitivity issues \[[VU#439395|AA. References#VU439395Bibliography#VU439395]\]. |
Noncompliant Code Example: File Name
...
Wiki Markup |
---|
\[[Kuhn 06|AA. References#KuhnBibliography#Kuhn 06]\] UTF-8 and Unicode FAQ for UNIX/Linux \[[ISO/IEC 646-1991|AA. References#ISOBibliography#ISO/IEC 646-1991]\] ISO 7-bit coded character set for information interchange \[[ISO/IEC 9899:1999|AA. References#ISOBibliography#ISO/IEC 9899-1999]\] Section 5.2.1, "Character sets" \[[ISO/IEC PDTR 24772|AA. References#ISOBibliography#ISO/IEC PDTR 24772]\] "AJN Choice of Filenames and other External Identifiers" \[[MISRA 04|AA. References#MISRABibliography#MISRA 04]\] Rule 3.2, "The character set and the corresponding encoding shall be documented," and Rule 4.1, "Only those escape sequences that are defined in the ISO C standard shall be used" \[[MITRE 07|AA. References#MITREBibliography#MITRE 07]\] [CWE ID 116|http://cwe.mitre.org/data/definitions/116.html], "Improper Encoding or Escaping of Output" \[[Wheeler 03|AA. References#Wheeler03Bibliography#Wheeler03]\] 5.4 File Names \[[VU#881872|AA. References#VU881872Bibliography#VU881872]\] |
...
49. Miscellaneous (MSC) MSC10-C. Character Encoding - UTF8 Related Issues