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

查看:28
本文介绍了如何将 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.

推荐答案

我找到了两种方法

替代

有替代方法,请尝试

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天全站免登陆