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

应用开发中的中文乱码原因及其解决方案
引用本文:闫静,王天宝,罗浩.应用开发中的中文乱码原因及其解决方案[J].成都信息工程学院学报,2012,27(5):458-461.
作者姓名:闫静  王天宝  罗浩
作者单位:成都信息工程学院,四川成都,610225
摘    要:针对Web应用开发中中文乱码的问题,通过介绍各种字符编码标准,知道每种字符编码标准使用不同的字节数来表示一个字符。使用不同的字符编码标准,相同的字符在计算机内存中存储的编码是不同的,如果中文字符的编码和解码使用不同的字符编码标准,就会出现解码时根据计算机中存储的编码无法找到对应的字符的问题。分析得出Web应用开发过程中产生中文乱码的最主要原因是在开发的各个环节或阶段中使用的字符编码标准不一致或者前后不兼容,从而使字符在被调用和显示过程中不能被下一阶段正确的识别,所以出现了中文乱码。

关 键 词:中文乱码  字符编码  Web应用开发

The Reason and Solution of Chinese Garbled Problem During Web Application Development
YAN Jing , WANG Tian-bao , LUO Hao.The Reason and Solution of Chinese Garbled Problem During Web Application Development[J].Journal of Chengdu University of Information Technology,2012,27(5):458-461.
Authors:YAN Jing  WANG Tian-bao  LUO Hao
Institution:(Chengdu university of Information Technology, Chengdu 610225, China)
Abstract:For the problem of web application development about the Chinese garble, an introduction of a variety of character encoding standard is given, which results of knowing that each character encoding standard to use a differ- ent number of bytes to represent a character. The same characters stored in computer memory are different, so if the Chinese character encoding and decoding use a different character encoding standard, it will appear that decoding is unable to find the corresponding character by the encoding stored in the computer, so it uses a different character en- coding standards. Analysis of Chinese garble comes to that the most important reason of garble in web application de- velopment process is the character encoding standard used in all aspects or phases of the development is not compatible or inconsistent, so that characters can not be recogonized correctly in the next stage during the process when they are called and display, so there are a Chinese garbles.
Keywords:Chinese garbled  character encoding  Web application development
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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