Java字符集编/解码器的研究与实现  被引量:1

Study and implementation of JAVA charset codec

在线阅读下载全文

作  者:王丹[1] 陈志军[2] 

机构地区:[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[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象