commit | f9550c3f7207f946a45bbccd1814b12b136aae72 | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Mon Feb 19 16:23:29 2024 |
committer | Paul Wankadia <junyer@google.com> | Mon Feb 19 16:37:14 2024 |
tree | 25b11b258313b375466393629a2ca5aecd46f20e | |
parent | 0ff0fabc78d27337d11eb90744c13e5f9a2a41bb [diff] |
Fix more ancient bugs around Latin-1 handling. It turned out that case folding assumed UTF-8 mode, so we would fold, say, 0xD1 to 0xF1 even in Latin-1 mode. Fixes #477. Change-Id: I73aa5c8e33ee0c6041c54e3a7268635915960f64 Reviewed-on: https://code-review.googlesource.com/c/re2/+/62714 Reviewed-by: Alex Chernyakhovsky <achernya@google.com> Reviewed-by: Paul Wankadia <junyer@google.com>