Fix bug when slicing a string with broken encoding
Commit aa2a428 introduced a bug where non-embedded string slices copied the encoding of the original string. If the original string had a broken encoding but the slice has valid encoding, then the slice would be incorrectly marked as broken encoding.
This commit is contained in:
parent
6f8d17e43c
commit
28a572f8bf
Notes:
git
2022-09-28 22:05:54 +09:00
Loading…
x
Reference in New Issue
Block a user