# Chinese search excerpts appear broken

**URL:** <https://meta.discourse.org/t/chinese-search-excerpts-appear-broken/169866>\
**Category:** Bug\
**Tags:** pr-welcome\
**Created:** [November 11, 2020, 9:39pm UTC](https://meta.discourse.org/t/chinese-search-excerpts-appear-broken/169866 "2020-11-11T21:39:43Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [May 20, 2021, 5:50am UTC](https://meta.discourse.org/t/chinese-search-excerpts-appear-broken/169866/21 "2021-05-20T05:50:01Z")

</div>

I thought I made some changes here:

> <https://github.com/discourse/discourse/blob/626b8465baed15799b89135d79c9b8a00eda3bb7/lib/search.rb#L67-L70>

Is your locale set to `zh_TW` , `zh_CN` or `ja`? if not is `search_tokenize_chinese_japanese_korean` set to true?

We have a bypass here:

> <https://github.com/discourse/discourse/blob/626b8465baed15799b89135d79c9b8a00eda3bb7/lib/search/grouped_search_results.rb#L90-L104>

---

_[View the full topic](https://meta.discourse.org/t/chinese-search-excerpts-appear-broken/169866)._
