强制 Visual Studio (2010) 以 UTF-8 格式保存所有文件 [英] Force Visual Studio (2010) to save all files in UTF-8

查看:32
本文介绍了强制 Visual Studio (2010) 以 UTF-8 格式保存所有文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以强制 Visual Studio (2010) 始终以 UTF-8 格式保存所有文件?

Is there any way I can force Visual Studio (2010) to save all files in UTF-8, always?

推荐答案

我认为它会在当前代码页中保存文件.Tools->Options->Environment->Documents 下有一个选项,当它无法保存在当前代码页中时,它会将其保存为 unicode.但我不知道这是否有帮助...

I think it saves files in the current codepage. There's an option under Tools->Options->Environment->Documents that will make it save in unicode when it cannot save in current codepage. But I don't know if that helps...

这篇关于强制 Visual Studio (2010) 以 UTF-8 格式保存所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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