Enumeration Case



kUnicodeForceASCIIRangeMask = 1L << kUnicodeForceASCIIRangeBit


A mask for setting the force ASCII range control flag. If an encoding normally treats 1-byte code points 0x000x7F as an ISO 646 national variant that is different from ASCII, setting this flag forces 0x000x7F to be treated as ASCII. For example, Japanese encodings such as Shift-JIS generally treat 0x000x7F as JIS Roman, with 0x5C as YEN SIGN instead of REVERSE SOLIDUS, but when converting a DOS file path you may want to set this flag so that 0x5C is mapped as REVERSE SOLIDUS.