B4J Question BBCodeView does not wrap Chinese well

xulihang

Active Member
Licensed User
Longtime User
chinesepng.png


There is no space between Chinese characters. I tried the WordBoundaries property but don't know how to use it.
 

xulihang

Active Member
Licensed User
Longtime User
I found a way to use BBCodeview with Chinese.

I have to include all the Chinese characters and punctuations in the wordboundaries list:

B4X:
BBCodeView1.Text="我和我的祖国China。"
TextEngine.WordBoundaries="我和我的祖国。"

result.png
 
Upvote 0
Top