# Fix multibuffer chunk splitting at UTF-8 boundaries \(\#57641\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7ae24463e189861071f7cc1101df04f9984b0ecf)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7ae24463e189861071f7cc1101df04f9984b0ecf

Requested commit: 7ae24463e189861071f7cc1101df04f9984b0ecf

Commit: 7ae24463e189861071f7cc1101df04f9984b0ecf

Tree: a16a626d2923cc4200a34931d21685a5690e33d4

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
Fix multibuffer chunk splitting at UTF-8 boundaries (#57641)

Don't panic when a diff transform boundary falls inside a multi-byte
UTF-8 character. Round split points up to the next char boundary and
advance past any transform boundaries skipped by that adjustment.

Closes FR-16

Release Notes:

- Fixed a crash when deleting words near inline diff boundaries
containing multi-byte characters
```

## Parents

- [710228e3ddd737b16ab320c48d3c7954db394764](https://git.cafe/gitcafe/zed/commit/710228e3ddd737b16ab320c48d3c7954db394764?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7ae24463e189861071f7cc1101df04f9984b0ecf?format=markdown)
