How do I set the default file encoding of the source file in Qt Creator?

There is no default file encoding option in my qt creator. Therefore, every newly created file inherits from the system encoding, which 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 in the text editor board This option is added.

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”.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4959 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.