Solved:How can use CJK characters in yaml setting?

With the following notify setting,i can send email:

notify:
  - name: "send_email"
    platform: smtp
    server: "smtp.qq.com"
    port: 465
    timeout: 60
    sender: "[email protected]"
    encryption: tls
    username: "[email protected]"
    password: "xxxx"
    verify_ssl: False
    recipient:
      - "[email protected]"
    sender_name: "smart homekit"

Click CALL SERVICE,i can receive email in [email protected].

file  /home/homeassistant/.homeassistant/configuration.yaml
/home/homeassistant/.homeassistant/configuration.yaml: ASCII text

Now ,replace English character in sender_name field with CJK character in configuration.yaml:

notify:
  - name: "send_email"
    platform: smtp
    server: "smtp.qq.com"
    port: 465
    timeout: 60
    sender: "[email protected]"
    encryption: tls
    username: "[email protected]"
    password: "xxxx"
    verify_ssl: False
    recipient:
      - "[email protected]"
    sender_name: "智能家居"

I can’t receive email anymore when to click CALL SERVICE.And no error info in home-assistant.log!

file  /home/homeassistant/.homeassistant/configuration.yaml
/home/homeassistant/.homeassistant/configuration.yaml: UTF-8 Unicode text

If i write CJK characters in yaml file,the configuration.yaml file type will be converted from ASCII text to UTF-8 Unicode text !Only ASCII text file can work!
How can use CJK characters in yaml setting?

Have you tried using Unicode syntax ie: \U667A\U80FD …?

It is not the string \U667A\U80FD ,the right format is :

   sender_name: "\\x66\\x7a\\x80\\xfd\\x5b\\xb6\\x5c\\x45"