# Revert unnecessary "fix handling of unicode when counting codeblock lines" \+ document \(\#30368\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 30f3efe6976ca1e6b13eb605f17c4a5be13e6bd2

Requested commit: 30f3efe6976ca1e6b13eb605f17c4a5be13e6bd2

Commit: 30f3efe6976ca1e6b13eb605f17c4a5be13e6bd2

Tree: 02f91362f2e1519c0a6b51bf8dde03cc36e7182e

Author: Michael Sloan

Committer: GitHub

## Message

```
Revert unnecessary "fix handling of unicode when counting codeblock lines" + document (#30368)

After merging #30364 I realized why it was unnecessary to fix the code,
and was more efficient before. UTF-8 does not use the standard 0-127
ASCII range for multi-byte chars. So this reverts that change and
documents why the code is valid.

Release Notes:

- N/A
```

## Parents

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

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