Current location - Education and Training Encyclopedia - Graduation thesis - Why are Chinese characters displayed as boxes when writing papers with latex?
Why are Chinese characters displayed as boxes when writing papers with latex?
First, make sure that your source files use the correct encoding. If xelatex is used, UTF-8 will be used by default. If you use a different encoding, you must specify it.

Then, the Chinese font you specify must be available. XELATex sometimes doesn't prompt to replace missing fonts.