Filter löschen
Filter löschen

Can't input Chinese in live editor.HELP

5 Ansichten (letzte 30 Tage)
peng yin
peng yin am 18 Dez. 2018
Bearbeitet: cui,xingxing am 6 Dez. 2023
When I input Chinese character in live editor, it automatically becomes to alphabets. what should i do to fix it?
Ps. live editor is much slower than script editor, is there any setting to improve ?

Antworten (1)

Moin
Moin am 12 Jul. 2022
I understand, you are trying to input Chinese character in live editor, and it automatically becomes alphabets. The reason for this might be your locale is set to English on your system. So it is unable to recognise the Chinese characters.
You can fix this by changing locale to Chinese.
  1 Kommentar
cui,xingxing
cui,xingxing am 6 Dez. 2023
Bearbeitet: cui,xingxing am 6 Dez. 2023
Note:I guess the subject can display Chinese normally, but not able to input/type chinese.
For Example, on my ubuntu:
!locale
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:en
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY=zh_CN.UTF-8
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_IDENTIFICATION=zh_CN.UTF-8
LC_ALL=
From the above result, you can see that my system LANG environment variable is "LANG=zh_CN.UTF-8", but I still can't input/type Chinese on my ubuntu20.04?@Moin

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by