首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Java字符集编/解码器的研究与实现
引用本文:王丹,陈志军.Java字符集编/解码器的研究与实现[J].沈阳航空工业学院学报,2007,24(5):50-53.
作者姓名:王丹  陈志军
作者单位:1. 沈阳航空工业学院理学系,辽宁,沈阳,110034
2. 沈阳东软软件股份有限公司,辽宁,沈阳,110179
摘    要:操作系统厂商经常在ISO标准字符集之外添加一些特殊的字符,这些特殊字符不能为Java所识别,从而出现乱码。介绍了通过J2SE中Service Provider Interface编程接口实现自定义字符集编解码器,对特殊字符进行解码,来解决乱码问题的方法,并通过代码演示了实现字符集编解码器的步骤和所要考虑的问题。通过文中所描述的方法,可以无缝的将用户自定义字符集编解码器集成到Java运行环境中。

关 键 词:字符集  编码器  解码器
文章编号:1007-1385(2007)05-0050-04
修稿时间:2007年6月1日

Study and implementation of JAVA charset codec
WANG Dan,CHEN Zhi-jun.Study and implementation of JAVA charset codec[J].Journal of Shenyang Institute of Aeronautical Engineering,2007,24(5):50-53.
Authors:WANG Dan  CHEN Zhi-jun
Abstract: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.
Keywords:Service Provider Interface
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号