寻找一个UTF-8文本编辑器 [英] looking for a UTF-8 text editor

查看:835
本文介绍了寻找一个UTF-8文本编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个(简单)文本编辑器,可以处理同一文档中不同编码的文本。

I am looking for a (simple) text editor that can handle text in different encodings in the same document.

我需要开发一些混合日语和英语文本和我现在的编辑器(在英语Windows系统上)无法显示日语文本。
Jedit文件不显示我已经输入的日语文本,但是当我看着在浏览器中的文件,它显示正确。
Gvim在编辑器中显示所有日语文本作为问号,也在浏览器中。
在Gvim输入汉字作品(你输入发音,然后按空格键得到汉字),但是当你确认汉字你想要它用问号替换汉字。 (每个汉字一个问号)。

I need to develop some sites with mixed Japanese and English text and the editors I have now (on an English Windows system) are unable to display the Japanese text. Jedit files don't display the Japanese text I have inputted but when I look at the file in a browser it shows up correctly. Gvim shows all Japanese text in the editor as question marks and also in the browser. In Gvim inputting the kanji works (you input the pronounciation and then press space bar to get the kanji) but when you confirm the kanji you want it replaces that kanji with question marks. (1 question mark for every kanji).

有人可以推荐我一个文本编辑器来编辑html和php文件,能够显示utf-8编码文本,作为utf-8文件?

Can someone recommend me a text editor to edit html and php files that is able to display utf-8 encoded text and also save as an utf-8 file ?

谢谢。

阅读了关于emacs的信息。请参阅下文。

After reading about emacs I installed it. see below.

感谢大家的提示。
如果你没有unicode字体,你必须在网上找一个或买一个。
这里是在Windows系统上安装字体的说明 http://support.microsoft。 com / kb / 314960

jEdit
我将Jedit中的字体更改为UTF字体,现在日语正常显示。
输入日语仍然有问题,因为你看不到你在打字。
(更改您的字体编辑文件转到实用程序 - >全局选项 - >文本区域
选择Unicode字体,您将能够看到日语字符。

jEdit I changed my font in Jedit to a UTF font and now the Japanese shows up normally. inputting the Japanese is still problematic as you don't see what you are typing. (to change your font to edit files go to Utilities -> Global Options -> text area select a Unicode font and you'll be able to see the Japanese characters.

gVim
我仍​​然在试图找出如何在gvim中添加一个字体。一旦我知道如何做,我会更新这个。

gVim I am still trying to figure out how to add a font in gvim. Once I know how to do that I ll update this.

Emacs
Emacs没有正确显示汉字,它们显示为???但至少我可以看到我在日语中输入并选择正确的词。

Emacs Emacs does not show the kanji correctly, they are displayed as ??? but at least I can see what I type in Japanese and select the right word.

所以在这一点上我不得不说在jEdit我可以看到日语文本,但我不能输入日语文本。Gvim我可以输入日语文本,但在文本区域内显示为?
在emacs和gvim中添加字体是不幸的,不是一个简单的任务
此刻,我使用记事本与Arial unicode MS字体并保存为UTF-8文件

so at this point I have to say that in jEdit I can see Japanese text but I can't input Japanese text. Gvim I can input Japanese text but inside the text area it is displayed as ??? and the same goes for Emacs. adding a font in emacs and gvim is sadly enough not a trivial task. At the moment I use notepad with the Arial unicode MS font and saving as UTF-8 file as my Japanese editor. Not ideal but at least it works.

推荐答案

强烈建议使用记事本++。

Notepad++ is highly recommended.

这篇关于寻找一个UTF-8文本编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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