diff options
| author | Martin Atkins <mart@degeneration.co.uk> | 2023-08-30 09:48:40 -0700 |
|---|---|---|
| committer | Martin Atkins <mart@degeneration.co.uk> | 2023-08-30 09:48:40 -0700 |
| commit | edfd5c9aa70c14afad7416102d6d14a2733ed972 (patch) | |
| tree | 9a78370c47608919129093476559576ded3dfddf /json | |
| parent | fef040699b5f60c45800f0a019c1d4cbee493c04 (diff) | |
Use Unicode 15 tables for unicode normalization and segmentation
To match with the Unicode support in Go 1.21, we'll now use the Unicode 15
tables when we're normalizing Unicode strings and when counting
user-perceived characters ("grapheme clusters") for source position
purposes.
Diffstat (limited to 'json')
| -rw-r--r-- | json/scanner.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json/scanner.go b/json/scanner.go index d15c1a3..cae8485 100644 --- a/json/scanner.go +++ b/json/scanner.go @@ -6,7 +6,7 @@ package json import ( "fmt" - "github.com/apparentlymart/go-textseg/v13/textseg" + "github.com/apparentlymart/go-textseg/v15/textseg" "github.com/hashicorp/hcl/v2" ) |
