在Visual Studio代码中更改文件的编码 [英] Change the encoding of a file in Visual Studio Code

查看:298
本文介绍了在Visual Studio代码中更改文件的编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法更改文件的编码?
例如UTF-8到ISO 8859-1?



设置示例升华文本:default_encoding,UTF-8

解决方案

Visual Studio代码0.3.0添加了配置编码的支持。您可以对每个文件全局或本地配置编码。


Is there any way to change the encoding of a file? For example UTF-8 to ISO 8859-1?

Setting Example Sublime Text: "default_encoding", "UTF-8"

解决方案

Visual Studio Code 0.3.0 adds support to configure the encoding. You can configure the encoding globally or locally per file.

这篇关于在Visual Studio代码中更改文件的编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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