Tex document is set to utf-8 encoding, and then the document type is ctexart. The first two behaviors of a document are as follows:
Coding: UTF-8
\documentclass[UTF8]{ctexart}
Or: tex document is set to utf-8 encoding, and ctex package is loaded.
I hope I can help you.