Skip to content

Commit 30af72e

Browse files
TristonianJoneskyessenov
authored andcommitted
Default enable <string>.size() to return the number of unicode codepoints.
PiperOrigin-RevId: 367272711
1 parent 3b7f706 commit 30af72e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

eval/public/cel_options.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ struct InterpreterOptions {
2929

3030
// Enable functions which return the string.size() as the number of unicode
3131
// codepoints.
32-
// Starting on 4/7/2021 this will default to 'true'
33-
bool enable_string_size_as_unicode_codepoints = false;
32+
bool enable_string_size_as_unicode_codepoints = true;
3433

3534
// Enable short-circuiting of the logical operator evaluation. If enabled,
3635
// AND, OR, and TERNARY do not evaluate the entire expression once the the

0 commit comments

Comments
 (0)