Skip to content

Commit

Permalink
enable utf-8 validation mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwg committed Aug 21, 2024
1 parent 8968b6c commit 12dcdf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var (
// UTF-8-aware binaries as part of their startup. To avoid need for locking,
// this value should be set once, ideally in an init(), before multiple
// goroutines are started.
NameValidationScheme = LegacyValidation
NameValidationScheme = UTF8Validation

// NameEscapingScheme defines the default way that names will be
// escaped when presented to systems that do not support UTF-8 names. If the
Expand Down

0 comments on commit 12dcdf6

Please sign in to comment.