如何在 NetBeans 中更改文件编码? [英] How to change file encoding in NetBeans?

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

问题描述

我想在 NetBeans IDE(6.9.1 版)中更改文件编码,假设从 ANSII 更改为 UTF-8.我该怎么做?

I want to change encoding of file in NetBeans IDE (ver 6.9.1), let's say from ANSII to UTF-8. How can I do that?

我会更准确.我不想更改 NetBeans 中的默认编码.我只想更改当前编辑文件的编码.

I will be more precise. I don't want to change the default encoding in NetBeans. I want to only change encoding of the currently edited file.

推荐答案

在 NetBeans 模型中,所有项目文件都应该具有相同的编码.答案是您不能在 Netbeans 中做到这一点.

In NetBeans model all project files should have the same encoding. The answer is that you can't do that in Netbeans.

如果您在 Netbeans 中工作,您应该考虑使用其他工具将所有文件转换为单一编码.

If you are working in Netbeans you should consider to convert all files to a single encoding using other tools.

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

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