search

Home  >  Q&A  >  body text

encoding - Linux Ubuntu terminal displays Chinese

The requirement is to display Chinese in unbutu’s terminal

I tried modifying LANG=zh_CN.UTF8 but it didn’t work either

Currently it is estimated that the problem lies in the font. I wonder if anyone has relevant experience to share

伊谢尔伦伊谢尔伦2764 days ago855

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-06-14 10:52:24

    1. After modifying LANG=zh_CN.UTF-8, you need to reload the .profile to take effect

    2. There should be a separate encoding setting on the terminal, try it

    3. Garbled characters caused by encoding are different from the performance of fonts that do not support the corresponding language. Garbled characters are "garbled" codes, but problems caused by fonts generally manifest as characters that cannot be displayed as a black block, or a frame, or A question mark, can you observe it?

    reply
    0
  • Cancelreply