I try to render some math equations using LaTeXiT, but Chinese characters does not show correctly:

The text I tried to render is english 中文 English.
I made the following setup:
- add
\usepackage{xeCJK}to LaTeXiT preamble - Set LaTeXiT to use XeLaTeX engine in the Typesetting section:

I also made sure that TexShop can show Chinese characters correctly after adding \usepackage{xeCJK} and use XeLaTeX. Also I found no error in the LaTeXiT log.
How do I setup LaTeXiT to show Chinese characters correctly?

inputencwith xelatex, it does nothing other than generate a warning thatinputencshould not be used. – David Carlisle Sep 03 '21 at 07:40/Library/TeX/texbin. That way it will always point to the active TeX distribution. I know I'd forget what I've done and then will be puzzled when I change active distributions and no longer have TeX Live 2021. – Herb Schulz Sep 03 '21 at 13:50