# signature_help: Fix crash when typing CJK in debug mode \(\#45785\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 44b6995ac6e169ea7b5a239c300829f344d32f5c

Requested commit: 44b6995ac6e169ea7b5a239c300829f344d32f5c

Commit: 44b6995ac6e169ea7b5a239c300829f344d32f5c

Tree: 350223d9391221687d2ee04572e14178ea449d64

Author: CharlesChen0823

Committer: GitHub

## Message

```
signature_help: Fix crash when typing CJK in debug mode (#45785)

in release mode: found many log error as `ERROR [rope::chunk] byte index
48 is not a char boundary; it is inside '，' (bytes 46..49)`

This is easy testing,
- enable signature help
- typing any CJK character
- crash in debug mode

Release Notes:

- N/A
```

## Parents

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

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