The problem that Chinese fonts display garbled characters in projects opened by SourceInsight

1. Enter the directory where the file is located under ubuntu and execute the command "file *" to check the encoding method of the file. Some versions of sourceinsight only support GB2312 and ascil codes, so encoding conversion is required;

2. Under ubuntu, you can perform encoding conversion through iconv

  iconv
  -f: input encoding format
  -t: output encoding format
  -o: output file name

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325289466&siteId=291194637