# Don't slice midway through multi-byte char when detecting line ending · gitcafe/zed

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

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

Visibility: public

Requested revision: 113eb9b94fb79a5145d4135e772cb2f4366fc9d2

Requested commit: 113eb9b94fb79a5145d4135e772cb2f4366fc9d2

Commit: 113eb9b94fb79a5145d4135e772cb2f4366fc9d2

Tree: 41015029f8f14988836617682d8a648692274fa6

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Don't slice midway through multi-byte char when detecting line ending

```

## Parents

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

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