summaryrefslogtreecommitdiff
path: root/ext/sqlite3/php_sqlite3_structs.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-19 19:05:33 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-20 03:01:35 +0200
commite4a006cd3e17338677ec269a8cdb1354f38e0cad (patch)
tree721176d1be1bf783b8f9742b2c35a625932d4069 /ext/sqlite3/php_sqlite3_structs.h
parent9164dc11e2323b8b80c389bb13d70789799b44fc (diff)
downloadphp-git-e4a006cd3e17338677ec269a8cdb1354f38e0cad.tar.gz
Fix #65732: grapheme_*() is not Unicode compliant on CR LF sequence
According to the Unicode specification (at least as of 5.1), CRLF sequences are considered to be a single grapheme. We cater to that special case by letting grapheme_ascii_check() fail. While it would be trivial to fix grapheme_ascii_check() wrt. grapheme_strlen(), grapheme_substr() and grapheme_strrpos() would be much harder to handle, so we accept the slight performance penalty if CRLF is involved.
Diffstat (limited to 'ext/sqlite3/php_sqlite3_structs.h')
0 files changed, 0 insertions, 0 deletions