CJK support in vanilla TeXmacs

Hi all,
I wonder what is the current state of CJK support on TeXmacs? As far as I feel there is quite a lot of bugs here and there. For example, it is easy to make CJK characters overflow a beamer or regular document:


Justify doesn’t seems to work as expected as well, typing one more character lead from first figure to second one:

This is because you are using the British document language.

Just set it to Chinese, it will be correctly displayed.

And it is improved in Mogan v1.1.2 rc2. After the official release of Mogan v1.1.2 rc2, I will submit my patches to upstream. I’m very cautious, because for the past several years, I made mistakes and I want to be a more reliable coder.

Here is the patch to fix this problem:
https://git.lug.ustc.edu.cn/XmacsLabs/mogan/-/commit/f22712f3d914141bf50c3126e9606e2ca86af321