To change the database character set in WordPress, follow these steps:

  1. Access the wp-config.php file located in the root directory of your WordPress installation.
  2. Look for the following lines:
    php
    define('DB_CHARSET', 'utf8mb4');
    define('DB_COLLATE', '');
  3. If these lines are missing or set to a different value, change DB_CHARSET to utf8mb4, which is the recommended character set for supporting special characters, including Chinese. DB_COLLATE should be left empty or set to utf8mb4_unicode_ci if you want to specify a collation.
  4. Save the changes and upload the file back to the server if you are working locally.

With this change, WordPress will be configured to use the UTF-8 character set, ensuring that special characters, such as Chinese, display correctly.