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

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

问题描述

我想在NetBeans IDE(版本6.9.1)中更改文件的编码,假设从ANSII到UTF-8。我怎么能这样做?



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

解决方案

在NetBeans模型中,所有项目文件都应具有相同的编码。答案是你不能在Netbeans中这样做。



如果你在Netbeans工作,你应该考虑使用其他工具将所有文件转换为单一编码。 / p>

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?

EDIT: 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.

解决方案

In NetBeans model all project files should have the same encoding. The answer is that you can't do that in 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天全站免登陆