xulihang Active Member Licensed User Longtime User Jul 18, 2021 #1 There is no space between Chinese characters. I tried the WordBoundaries property but don't know how to use it.
There is no space between Chinese characters. I tried the WordBoundaries property but don't know how to use it.
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2021 #2 I don't think that you will get good result with the current version of BCTextEngine and Chinese. WordBoundaries holds the list of characters that are treated as separators. B4X: Public WordBoundaries As String = "&*+-/.<>=\' ,:{}" & TAB & CRLF & Chr(13) Upvote 0
I don't think that you will get good result with the current version of BCTextEngine and Chinese. WordBoundaries holds the list of characters that are treated as separators. B4X: Public WordBoundaries As String = "&*+-/.<>=\' ,:{}" & TAB & CRLF & Chr(13)
xulihang Active Member Licensed User Longtime User Jul 18, 2021 #3 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="我和我的祖国。" Upvote 0
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="我和我的祖国。"