TextPad 和 Unicode:完全支持? [英] TextPad and Unicode: full support?

查看:16
本文介绍了TextPad 和 Unicode:完全支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Mac 中创建了一些 UTF-8 文件,当我尝试在 Windows 中使用 TextPad 打开它们时,我收到以下警告:

I've got some UTF-8 files created in Mac, and when trying to open them using TextPad in Windows, I get the following warning:

警告:(文件名)包含代码中不存在的字符第 1252 页(ANSI 拉丁语 1).它们将转换为系统默认值字符,如果您单击确定.

WARNING: (file name) contains characters that do not exist in code page 1252 (ANSI Latin 1). They will be converted to the system default character, if you click OK.

Linux (GNOME gEdit) 可以毫无怨言地打开同一个文件.以上是什么意思?我认为 TextPad 具有完整的 UTF-8 支持.我可以使用它安全地打开和编辑 UTF-8 文件而不损坏文件吗?

Linux (GNOME gEdit) can open the same file without complaints. What does the above mean? I thought that TextPad had full UTF-8 support. Can I safely open and edit UTF-8 files using it without corrupting the file?

推荐答案

TextPad 似乎无法处理 windows-1252 之外的字符(CP1252,这里带有误称ANSI Latin 1").我在 Windows 上测试了它,打开在同一系统上创建的纯文本文件,UTF-8 编码,有和没有 BOM,结果相同.该程序的帮助似乎不包含任何与字符编码相关的内容,其用于编写国际字符"的工具仅适用于 Latin-1 字符.

It seems that TextPad cannot handle characters outside windows-1252 (CP1252, here carrying the misnomer "ANSI Latin 1"). I tested it on Windows, opening a plain text file created on the same system, as UTF-8 encoded, both with and without BOM, with the same result. The program’s help does not seem to contain anything related to character encodings, and its tools for writing "international characters" are for Latin-1 characters only.

Windows 有几种文本编辑器可以处理 UTF-8(即使记事本也可以打开 UTF-8 文件,但很难推荐用于认真编辑).请参阅 Alan Wood 收集的有关 适用于 Windows 的 Unicode 编辑器和文字处理器的信息.(就我个人而言,我喜欢 Notepad++ 和 BabelPad,它们都是免费的.)

There are several text editors for Windows that can deal with UTF-8 (even Notepad can open a UTF-8 file, but it can hardly be recommended for serious editing). See Alan Wood’s collection of information on Unicode editors and word processors for Windows. (Personally, I like Notepad++ and BabelPad, which are both free.)

这篇关于TextPad 和 Unicode:完全支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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