检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]沈阳航空工业学院理学系,辽宁沈阳110034 [2]沈阳东软软件股份有限公司,辽宁沈阳110179
出 处:《沈阳航空工业学院学报》2007年第5期50-53,共4页Journal of Shenyang Institute of Aeronautical Engineering
摘 要:操作系统厂商经常在ISO标准字符集之外添加一些特殊的字符,这些特殊字符不能为Java所识别,从而出现乱码。介绍了通过J2SE中Service Provider Interface编程接口实现自定义字符集编解码器,对特殊字符进行解码,来解决乱码问题的方法,并通过代码演示了实现字符集编解码器的步骤和所要考虑的问题。通过文中所描述的方法,可以无缝的将用户自定义字符集编解码器集成到Java运行环境中。The operating system manufacturers often need add some special characters into the ISO standard character sets. These special characters can not be recognized by Java, thus problems raised. This paper introduces a method to solve these problems, using the J2SE Service Provider Interface which can decode special characters to implement user-defined character set codec. Moreover, sample codes are given to demonstrate the steps to implement user- define character set codec. By this method, user- defined character set codec can be seamlessly integrated into the Java runtime environment.
关 键 词:SERVICE PROVIDER INTERFACE 字符集 编码器 解码器
分 类 号:TP391.2[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.40