如何配置Visual Studio以将UTF-8用作所有项目的默认编码? [英] How to config visual studio to use UTF-8 as the default encoding for all projects?

查看:740
本文介绍了如何配置Visual Studio以将UTF-8用作所有项目的默认编码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了搜索,但是只找到了更改单个文件编码的方法.我想开始使用已配置为UTF-8编码的项目.

I did the search, but only found ways to change the encoding for individual files. I want to start projects with the encoding already configured as UTF-8.

推荐答案

我发现了两种方法

备用

还有另一种方法,请尝试

There is alternate way, please try it

Tools->Options->Environment->Documents

最后一个

如果不能,则可以尝试将其另存为UTF-8,可以使用高级选项另存为

If that can't you can try to save it as UTF-8, you can save as with advanced options

这篇关于如何配置Visual Studio以将UTF-8用作所有项目的默认编码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆