Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Eclipse 中使用 EBCDIC(IBM i 版本)中的源代码。似乎标准 Eclipse 安装在其编辑器支持的代码页列表中缺少 EBCDIC。那么,有没有办法向 Eclipse 添加对 EBCDIC 源的支持?请注意,我知道 NextGen 和 IBM RDi,但我正在寻找标准 Eclipse 中的 EBCDIC 支持。谢谢,
您可以在文件的 Properties > Resource 上的 Text File Encoding 字段中指定 Java 类支持的任何编码Charset(或 Preferences > Workspace 中的默认工作区编码)。
Charset
不要被这些字段是下拉列表的事实所迷惑,您也可以在此处键入其他值。
EBCDIC 有多种形式,因此Charset没有单一的 EBCDIC 值,而是有一些值,例如用于代码页 500 布局的 IBM500。因此,您需要知道文件使用哪个 EBCDIC 代码页。