Thank you.
Note: After changing the encoding to “UTF-8”, if the system encoding is UTF-8, it may still display “System”. The Qt creator document points out “If The default system encoding is set to UTF-8, the default encoding field still displays the value System”.
There is no default file encoding option in my qt creator. Therefore, each The newly created files are all inherited from the system encoding, that is, gbk(cp936) in my Windows box. But I want to set the default file encoding of the source file to utf-8. How about?
Thank you.
I found this option in the text editor panel.
< p>Note: After changing the encoding to “UTF-8”, if the system encoding is UTF-8, it may still display “System”. The Qt creator document states that “If the default system encoding is set to UTF-8, the default encoding The field still displays the value System”.