Super Developer

我的一丝留念

首页 联系 管理

native2ascii用法:
native2ascii [-reverse] [-encoding 编码] [输入文件 [输出文件]]

说明:

Java 编译器和其它 Java 工具只能处理含有 Latin-1 和/或 Unicode 编码(\udddd
记号)字符的文件。native2ascii 将含有其它字符编码的文件转换成含 Latin-1 和/或
Unicode 编码字符的文件。

若省略 outputfile,则使用标准输出设备输出。此外,如果也省略
inputfile,则使用标准输入设备输入。

参数选项:

-reverse 执行相反的操作:将含 Latin-1 和/或 Unicode
编码字符的文件转换成含本地编码字符的文件:

-encoding encoding_name 指定转换程序使用的编码名称。预设的编码从系统属性
file.encoding 中得到。encoding_name 字符串必须是下表第一栏所示的字符串。

posted on 2009-04-29 20:09  Super Developer  阅读(790)  评论(0编辑  收藏  举报