English 中文(简体)
为什么Netbeans、Aptanaudio和Komodo Edit根本不在UTF-8中拯救?
原标题:Why do Netbeans, Aptana Studio and Komodo Edit all not save in UTF-8?

I m 回到发展阶段,希望找到一位出色的编辑,负责超文本处理。

能够在UTF-8中节省档案非常重要。

然而,尽管我在NetBeans 7.0上设定了在UTF-8中的编码项目,当时我在项目上立了一个档案,然后在附注pad++中查阅,但该档案在ANSI中被编码,我不得不人工确定对UTF-8的编码:

“entergraph

In Aptana Studio 3 I set the workspace to UTF-8 encoding, and my project inherits from that, but when I create a file in the project and look at it in Notepad++, it is encoded in ANSI and I have to change the encoding manually to UTF-8:

“entergraph

因此,我尝试了Komodo Edit 7,在档案中人工将编码整理到UTF-8, 节省了档案,在说明台++上查看,该笔档案在ANSI。

enter image description here

如果我把德国的姆拉乌特特性放在档案中的话,那么,附注pad++将其显示为“ANSI as UTF-8”,但我仍不得不人工将其改换到UTF-8,然后留在该数据库。

The reason I want an editor that saves in UTF-8 is I remember having a project a couple years ago which had German and French characters in the files and after they were viewed and saved in various editors, the characters would be replaced with garbage characters. The solution was to always initially set the encoding of the file to UTF-8.

我假定,现在编辑会提前到来,如果你具体指出,这些档案应在UTF-8中保存,他们实际上以每个现代文本编辑都承认的方式在UTF-8中储蓄。 情况如何? 我对8国集团的现代文字编辑和发展环境有何了解?

How can I get these editors to save their files in UTF-8 encoding?

问题回答

UTF-8号编码文件仅载有ASCII表(第128个统法协会编码特征,即你的基本字母数字特性)中包含的特性,但与ASCII/ANSI编码文档没有区别。 我的猜测是,“注意到”项目++根本无法作出区别(因为没有这种区分)和“ANSI”违约。 如果你包含不列入ASCII表格的特性,你就可以看到这种差异。 “ANSI as UTF-8”我只能猜测,这意味着“这些文件含有ANSI表格(a.k.a. Latin-1)的特性,并在UTF-8中保存”。

换言之,你的教育、教育、教育、教育、教育、教育、教育、体育和体育部可能会被罚款,问题在于第2号说明。

象牙齿一样,其特性将产生一种独一无二的UTF-8,其顺序当然最强:not。 ANSI。

从我在此专题上看到的情况来看,UTF-8号记号相当于UTF-8号记号,这意味着包括BOM。 如果用这种编码保存并在NetBeans开立档案,则该档案实际上将显示BOM序列的-ï>>(取决于是否将项目或IDE编码编码交给UTF-8)。 但是,如果你将附注pad++中的卷宗编号为“UTF-8,而没有BOM”,那么你的项目要么被定义为UTF-8,要么有你的净beans_default_options included with this -J-Dfile.encoding=UTF-8,那么你就会看到我认为UTF-8应当做些什么。 不幸的是,如果你试图将这一档案存放在NetBeans,而没有列入《ANSI法典》规定的特性,那么你就会看到你在问询中提到的行为,以及你向ANSI提供编码的档案。

因此,为了回答你的问题,请记住,并非所有编辑的UTF-8概念相同。 Notepad++给出了档案实际编码的最实际信息。 我这样说,无论是在含水层还是宏观环境中发展,都可能是确保当地化正确性的一种可能的良好选择,但在Windows上,体面的工作可能只是将非ANSI的特性列入档案,以确保它始终作为UTF-8(非BOM)的档案得到节省。 这一切都是针对的。 Net Beans dev by the way. 我先与其他人一道测试了这个情况,不过,我很愿意说,如果他们在视窗机器中具有非ANSI特性的话,他们就会把档案正确地保存在视窗机器上。 亲爱的帮派,但不管怎么说,我希望会帮助那些努力解决同一问题的人。





相关问题
messy css indentation in vim

When editing an html file in vim, the indentation for css inside style tags is messy. For instance, this is how it would indent this sample css code without any manual intervention to fix the ...

WYSIWYM editor for desktop (.NET/WinForms)

What can I use as WYSIWYM editor for desktop application (preferably .NET/WinForms)? I need functions as paragraphs, headings 1, 2, 3, (un)ordered lists, strong and no other formating (restrictive). ...

Working free text-editor for windows 7

Does anyone have a free text-editor that works well in Windows 7? I m currently useing Programmer s Notpad 2, but it keeps crashing or having UI bug issues. LIST TextPad NOTEPAD++ GNU Emacs Zeus ...

setTabChangesFocus(bool) has no effect Qt

I need to forbid the tab input in a QPlainTextEdit widget. Instead tab should be used has a "focus next" widget. It seems that setTabChangesFocus(bool) is made for that but setting it to true has no ...

What do you use to write Go [closed]

I know its a bit too early, but I ve been trying out Go (Google s Programming Language) and its kindof annoying to write code in gedit. So, my question: What do you use to experiment with Go?

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签