萍聚社区-德国热线-德国实用信息网

 找回密码
 注册

微信登录

微信扫一扫,快速登录

萍聚头条

查看: 1057|回复: 0

1-1-16-4-7 肯请总结一下汉字处理中的问题

[复制链接]
发表于 2003-5-11 23:06 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册 微信登录

x
发信人: darling (豆腐干), 信区: Java
标  题: Re: 肯请总结一下汉字处理中的问题
发信站: BBS 水木清华站 (Sat Oct 18 17:47:58 1997)

【 在 never (NeverSayDie) 的大作中提到: 】
: 请大侠指点在汉字输入/显示.传送中的解决办法.
: 特别是 用什么编程环境,用什么进行编译 ,用什么服务器,用什么浏览器
: 只要能有一种解决办法,
: 我愿 用任何编程环境,任何编译器,用任何服务器,用任何浏览器.

I just know something about the display of Asian Languge.
For example, if you have Chinese or Japanese character in your
Java source, when compiling, use "-encoding" option like that:

javac -g -encoding SJIS code_with_Japanese.java

Jdk 1.1 provide the functions to convert local language character
to Uicode. I think it is " getbyte() " ( I'm not so sure ), you
can use it like that:

    getbyte("汉字", Language option);
                        ^^^^^^^^
                        BIG5/GB/SJIS ... the document describing
the language code is released with Jdk1.1, in "Internationalization"
part?

抛砖引玉,共同探索
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
您需要登录后才可以回帖 登录 | 注册 微信登录

本版积分规则

手机版|Archiver|AGB|Impressum|Datenschutzerklärung|萍聚社区-德国热线-德国实用信息网

GMT+1, 2025-2-12 09:05 , Processed in 0.061843 second(s), 18 queries , MemCached On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表