如何在项目中强制执行默认编码 [英] How to enforce a default encoding within a project

查看:132
本文介绍了如何在项目中强制执行默认编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,在visual studio下创建的脚本创建为unicode utf-8代码页65001. 除非我将编码更改为"Unicode - codepage 1200",否则我的口音和特殊字符似乎会被误解。

By default, the scripts created under under visual studio are created as unicode utf-8 codepage 65001.  It seems my accents and special characters get misinterpreted unless I change the encoding to "Unicode - codepage 1200".

而不是逐个更改文件并且必须通信并强制执行要在单个文件的基础上使用的编码,有没有办法确保在项目下创建的新文件具有指定的默认编码? 即,我可以指定一个默认编码用于项目创建的文件吗?

Rather than changing the files one by one and having to communicate and enforce the encoding to use on an individual file basis, is there a way to ensure new files created under a project have a specified default encoding?  i.e. can I specify a default encoding to use for files created by a project?

推荐答案

您好Antoine F,

Hi Antoine F,

我试图让熟悉这个主题的人参与进一步研究这个问题。

I am trying to involve someone familiar with this topic to further look at this issue.

谢谢,


这篇关于如何在项目中强制执行默认编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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