aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-01 14:59:08 +0200
committerMartin Fischer <martin@push-f.com>2023-09-03 23:00:05 +0200
commit153acbee5650b9b006c7de215fb1421a64516fb4 (patch)
treeed363c6e00035cb227b183170bbd42495c84c0ca /CHANGELOG.md
parenteea8c60fba5962d5575c8515b837fb6304f73c9d (diff)
fix!: make PosTrackingReader encoding-independent
While much of the span logic currently assumes UTF-8, we also want to support other character encodings, such as e.g. UTF-16 where characters can take up more or less bytes than in UTF-8.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 28431e4..5025516 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,8 @@
* `AttributeOwned`: The `value_offset` field has been replaced with `value_span`.
+* Added required `len_of_char_in_current_encoding` method to `Reader` trait.
+
* Added missing `R: Position<O>` bounds for `Tokenizer`/`NaiveParser` constructors.
(If you are able to construct a Tokenizer/NaiveParser,
you should be able to iterate over it.)