# GUI TextBlock auto warpping on CJK characters

**URL:** <https://forum.babylonjs.com/t/gui-textblock-auto-warpping-on-cjk-characters/38603>\
**Category:** Feature requests\
**Tags:** text\
**Created:** [February 28, 2023, 11:07am UTC](https://forum.babylonjs.com/t/gui-textblock-auto-warpping-on-cjk-characters/38603 "2023-02-28T11:07:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gunpowderfans](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/gunpowderfans/32/37986_2.png) [@gunpowderfans](https://forum.babylonjs.com/u/gunpowderfans)\
**Post date:** [February 28, 2023, 11:07am UTC](https://forum.babylonjs.com/t/gui-textblock-auto-warpping-on-cjk-characters/38603/1 "2023-02-28T11:07:42Z")

</div>

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

Is it possible to add a force-mode on TextWrapping, to wrap without finding space characters?  
Normally Chinese text paragraphs don’t need space characters, and it’s same to Japanese and Korean texts

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [February 28, 2023, 2:41pm UTC](https://forum.babylonjs.com/t/gui-textblock-auto-warpping-on-cjk-characters/38603/2 "2023-02-28T14:41:41Z")

</div>

Adding @carolhmj our GUI expert !!!

---

<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 28, 2023, 4:24pm UTC](https://forum.babylonjs.com/t/gui-textblock-auto-warpping-on-cjk-characters/38603/3 "2023-02-28T16:24:19Z")

</div>

I’m not sure if this would completely solve your case but you can specify other characters to break lines with a custom wordSplittingFunction: [Auto text wrapping issue on CJK characters | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#6EE0SU#1)

Otherwise we could also wrap on length, like, wrap every 2, 3,… or N characters (that might have some complications because one character might contain multiple codepoints and etc, but we could do a general solution that works most of the times I think)
