[1]任平红,陈矗,郑秋梅.Java中文乱码问题研究[J].计算机技术与发展,2013,(03):117-120.
 REN Ping-hong,CHEN Chu,ZHENG Qiu-mei.Research of Character Encoding in Java[J].,2013,(03):117-120.
点击复制

Java中文乱码问题研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2013年03期
页码:
117-120
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Research of Character Encoding in Java
文章编号:
1673-629X(2013)03-0117-04
作者:
任平红1陈矗1郑秋梅2
[1]曲阜师范大学 计算机科学学院;[2]中国石油大学 计算机与通信工程学院
Author(s):
REN Ping-hongCHEN ChuZHENG Qiu-mei
关键词:
编码JavaWeb应用中文乱码字符集过滤器
Keywords:
codingJava Web applicationChinese character encodingcharacter setfilter
文献标志码:
A
摘要:
Java语言的跨平台特性,使其在各种系统环境下能够正确运行,但是在开发Java Web应用程序时,因为编码不统一,经常会出现中文乱码问题.针对客户端和服务器端传输数据,客户端显示中文字符编码,以及应用程序与数据库之间的数据交互等问题,分析了Java乱码产生的原因,并针对每种情况,结合实际的项目开发经验,给出了设置页面编码方式,修改Web服务器编码属性,以及使用过滤器等等方法.采用以上方法,可以有效地解决Java Web中的中文乱码问题
Abstract:
The cross-platform feature of Java language enables Java applications to run correctly in a variety of system environments. However,Chinese characters often garble in the development of Web applications because of non-uniform encoding. For data transmis-sion between client and server,the client's display of Chinese characters and the interaction between Java applications and databases,ana-lyze the cause of garbled characters and present solution for each case according to the actual experience in project development such as setting the encoding of pages,modifying encoding attribute of the Web server and making use of filters. The problem of Chinese garbled in the Java Web can be solved effectively referring to the above methods

相似文献/References:

[1]邵兰洁 李光忠.Web使用挖掘的数据采集技术探究[J].计算机技术与发展,2010,(03):225.
 SHAO Lan-jie,LI Guang-zhong.Research on Techniques of Data Collecting for Web Usage Mining[J].,2010,(03):225.
[2]韩树人 周贤娟 鄢化彪 刘生华.基于嵌入式Web服务器的远程实时数据采集[J].计算机技术与发展,2008,(01):206.
 HAN Shu-ren,ZHOU Xian-juan,YAN Hua-biao,et al.Collection of Remote Real - Time Data Based on Embedded Web Server[J].,2008,(03):206.
[3]钟娟 周原 刘光年.基于Java Synth的组件外观定制工具的研究与实现[J].计算机技术与发展,2009,(03):62.
 ZHONG Juan,ZHOU Yuan,LIU Guang-nian.Research and Implementation on Customization of Java Synth Component Look and Feel[J].,2009,(03):62.
[4]王晓东 姜浩.Web Service同传统分布式技术的比较分析[J].计算机技术与发展,2008,(03):125.
 WANG Xiao-dong,JIANG Hao.Comparison and Analysis Between Web Service and Traditional Distributed Technology[J].,2008,(03):125.
[5]郭磊 周德俭 刘电霆.协同设计工作流管理系统的JavaMail通信技术[J].计算机技术与发展,2008,(05):6.
 GUO Lei,ZHOU De-jian,LIU Dian-ting.Research on Java Mail Communication Technology of Workflow Management System of Cooperative Design[J].,2008,(03):6.
[6]张栗 张凤元 危胜军.基于DWR框架的WEB应用的设计与实现[J].计算机技术与发展,2008,(08):84.
 ZHANG Li,ZHANG Feng-yuan,WEI Sheng-jun.WEB Application Design and Realization Based on DWR Frame[J].,2008,(03):84.
[7]冯相忠.用VRML和Java实现虚拟小区的交互漫游[J].计算机技术与发展,2008,(09):194.
 FENG Xiang-zhong.Implementation of Interactive Wandering of Virtual Community with VRML and Java[J].,2008,(03):194.
[8]闫海珍 李绪成.基于编码的状态空间表示方法[J].计算机技术与发展,2010,(07):136.
 YAN Hai-zhen,LI Xu-cheng.State Space Representation Method Based on Encode[J].,2010,(03):136.
[9]应宏 黄河 鄢沛.Java CoG Kits在GridFTP开发中的应用[J].计算机技术与发展,2008,(11):211.
 YING Hong,HUANG He,YAN Pei.Application of Java CoG Kits in GridFTP Development[J].,2008,(03):211.
[10]袁健美.基于JSP的B/S动态网站开发及数据库连接[J].计算机技术与发展,2007,(06):29.
 YUAN Jian-mei.B/S Dynamic Website's Development and Database Connection Based on JSP[J].,2007,(03):29.

更新日期/Last Update: 1900-01-01