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

解决J2ME TCP Socket中文乱码问题的算法及验证
引用本文:郭峰,王佳佳,张彬.解决J2ME TCP Socket中文乱码问题的算法及验证[J].电子测量技术,2009,32(12):48-51.
作者姓名:郭峰  王佳佳  张彬
作者单位:北京邮电大学ICN&CAD中心,北京,100876
摘    要:在嵌入式开发中J2ME继承了平台无关性等特点,已经成为当前业界流行的无线应用开发支柱平台。本文首先介绍了基于J2ME平台的无线网络通讯编程技术,分析了手机上J2ME使用Socket网络通信的流程。然后以通用的J2METCPSocket网络通信程序为例,阐述了产生中文乱码的原因,提出了数据传递时解决中文乱码问题的算法,并使用J2MEWTK模拟器进行验证,结果证明了算法的正确性。

关 键 词:J2ME  Socket通信  中文乱码

One algorithm to combat chinese disorderly code and its correctness verification in J2ME TCP Socket network communication
Guo Feng,Wang Jiajia,Zhang Bin.One algorithm to combat chinese disorderly code and its correctness verification in J2ME TCP Socket network communication[J].Electronic Measurement Technology,2009,32(12):48-51.
Authors:Guo Feng  Wang Jiajia  Zhang Bin
Affiliation:Guo Feng Wang Jiajia Zhang Bin (ICN&-CAD Center, Beijing University of Posts and Telecommunications, Beijing 100876)
Abstract:Based on the feature of platform independent in R&D embedded software engineering, J2ME turns to be the most popular engineering platform for the application of wireless communication. This paper first introduces the program technique for wireless communication based on J2ME platform, and analyzes the communication procedure of cell phone when Socket network communication is used. Then based on a J2ME TCP Socket network communication procedure, this paper illustrates the reason of Chinese disorderly code, proposes the key algorithm to combat this problem and verifies the correctness of the algorithm by J2ME WTK software.
Keywords:J2ME
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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