php Programming Glossary: overlong
Regex to detect Invalid UTF-8 String http://stackoverflow.com/questions/11709410/regex-to-detect-invalid-utf-8-string UTF 8 Bytes xF5 xFF # Invalid UTF 8 Bytes xE0 x80 x9F # Overlong encoding of prior code point xF0 x80 x8F # Overlong encoding.. x9F # Overlong encoding of prior code point xF0 x80 x8F # Overlong encoding of prior code point xC2 xDF x80 xBF # Invalid UTF 8.. xBF xF0 xF4 xF0 xF4 x80 xBF xF0 xF4 x80 xBF 2 x80 xBF # Overlong Sequence xE0 xEF x80 xBF x80 xBF # Short 3 byte sequence xF0..
Am I correctly supporting UTF-8 in my PHP apps? http://stackoverflow.com/questions/1317152/am-i-correctly-supporting-utf-8-in-my-php-apps let a script element into what you thought was safe text. Overlong sequences were banned back in the early days of Unicode but..
|