Daniel Asked: 2022-06-23 02:37:39 +0800 CST2022-06-23 02:37:39 +0800 CST 2022-06-23 02:37:39 +0800 CST 如何根据文件类型在编辑器 joe 中设置编码 772 我希望使用 linux 在我的其他 UTF-8 上以 ISO8859-1 编码打开 Java 属性文件 (*.properties)。找到 ftype.rc,但不知道如何配置它。 joe 1 个回答 Voted Best Answer Daniel 2022-07-02T22:51:21+08:002022-07-02T22:51:21+08:00 我发现 joe 的较新版本(或至少从 Deb 9 或 10 开始的 Debian)已经在 ftype.rc 中包含了 .properties 文件的专门配置。这是摘录: Java's .properties [java_properties] *.properties this is part of the specification: -encoding iso-8859-1 -pound_comment -syntax properties -highlighter_context
我发现 joe 的较新版本(或至少从 Deb 9 或 10 开始的 Debian)已经在 ftype.rc 中包含了 .properties 文件的专门配置。这是摘录: