Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:chinese conversion to unicode? [Re:ringayumi]
jeffrey





发贴: 5
积分: 1
于 2003-11-06 00:41 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
想要查看被转换后的unicode正确结果,可以通过JDK自带的小应用程序native2ascii.exe来验证:

用法说明:
native2ascii [-reverse] [-encoding encoding] [inputfile [outputfile]]

例:
native2ascii -encoding iso-8859-1 test.txt

其中,test.txt包含汉字 "你好"

输出结果:
\u00c4\u00e3\u00ba\u00c3




黑格尔说:存在就是合理的。
向现实妥协,并不表明你的懦弱!


话题树型展开
人气 标题 作者 字数 发贴时间
10905 chinese conversion to unicode? ringayumi 111 2003-10-31 00:47
9295 Re:chinese conversion to unicode? gouride 402 2003-10-31 09:26
9392 Re:chinese conversion to unicode? ringayumi 39 2003-10-31 10:09
9469 Re:chinese conversion to unicode? nothing 377 2003-10-31 11:01
9154 Re:chinese conversion to unicode? ringayumi 97 2003-11-05 00:09
9227 Re:chinese conversion to unicode? nothing 2 2003-11-05 00:13
9938 Re:chinese conversion to unicode? jeffrey 274 2003-11-06 00:41
9403 Re:chinese conversion to unicode? altonpeng 36 2003-11-06 13:11
9214 Re:chinese conversion to unicode? jeez 116 2003-11-01 23:13
9355 Re:chinese conversion to unicode? ringayumi 196 2003-11-02 21:48
9228 Re:chinese conversion to unicode? gouride 26 2003-11-03 09:59
9329 Re:chinese conversion to unicode? ringayumi 216 2003-11-03 10:52
9454 Re:chinese conversion to unicode? ringayumi 149 2003-11-03 10:55
9411 Re:chinese conversion to unicode? sc33 39 2003-11-03 11:59
9251 Re:chinese conversion to unicode? ringayumi 134 2003-11-03 13:49
9324 Re:chinese conversion to unicode? ringayumi 232 2003-11-03 16:58
9164 Re:chinese conversion to unicode? dog72 12 2003-11-03 13:53
9158 Re:chinese conversion to unicode? gouride 201 2003-11-04 08:56
9261 Re:chinese conversion to unicode? ringayumi 151 2003-11-04 09:32
9154 Re:chinese conversion to unicode? gouride 79 2003-11-04 12:46
9317 Re:chinese conversion to unicode? ringayumi 258 2003-11-04 13:22
9166 Re:chinese conversion to unicode? gouride 556 2003-11-04 15:17

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923