# Chinese cannot wrap automatically in the 3DGUI

**URL:** <https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748>\
**Category:** Questions\
**Tags:** gui\
**Created:** [January 30, 2023, 10:17am UTC](https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748 "2023-01-30T10:17:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShiChao](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@ShiChao](https://forum.babylonjs.com/u/ShiChao)\
**Post date:** [January 30, 2023, 10:17am UTC](https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748/1 "2023-01-30T10:17:16Z")

</div>

Chinese cannot wrap automatically in the 3DGUI  
Ask for help.

 ![Snipaste_2023-01-30_18-12-26](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/0/709c4226955574e7eb30034de1f5b3c00b543ed2.png)

> **[Babylon.js Playground](https://playground.babylonjs.com/#2DYZJ2)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [January 30, 2023, 1:38pm UTC](https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748/2 "2023-01-30T13:38:09Z")

</div>

Hello! Let me take a look.

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [January 30, 2023, 1:38pm UTC](https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748/3 "2023-01-30T13:38:12Z")

</div>

Assigned @carolhmj on January 30, 2023, 1:38pm UTC



---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [January 30, 2023, 2:22pm UTC](https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748/4 "2023-01-30T14:22:35Z")

</div>

Oh, I see what’s happening. By default, we separate text in words based on the traditional unicode space character: [“ ” U+0020 Space (SP) Unicode Character (compart.com)](https://www.compart.com/en/unicode/U+0020). But your text doesn’t contain this space character, and utilizes the “fullwidth exclamation mark” character instead: [！ - U+0FF01 - decodeunicode.org](https://decodeunicode.org/en/u+FF01). You can solve this in a few ways, one would be to set the fullwidth mark to `wordDivider` property, but then, the text won’t split on the traditional space anymore. If you’d like to have the option to split on both characters, you can pass your own custom `wordSplittingFunction`: [3DGUI | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#2DYZJ2#3) 🙂

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [February 3, 2023, 3:56pm UTC](https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748/5 "2023-02-03T15:56:44Z")

</div>

Unassigned @carolhmj on February 3, 2023, 3:56pm UTC



---

<div class="post-metadata">

**Author:** ![ShiChao](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@ShiChao](https://forum.babylonjs.com/u/ShiChao)\
**Post date:** [February 6, 2023, 8:12am UTC](https://forum.babylonjs.com/t/chinese-cannot-wrap-automatically-in-the-3dgui/37748/6 "2023-02-06T08:12:05Z")

</div>

Thank you so much. perfectly solved my problem
