日志文章列表

2008年06月16日 17:47:14

Unicode转换




  private static String encodestrans(String strgb) {
    try {
        return new String(strgb.getBytes("UTF-8"), "GBK");
  ..

阅读全文>>

Tags: JAVA  

类别: 字符编码 |  评论(14) |  浏览(537) |  收藏
2007年08月30日 17:43:38

base64编码

转换后的字符串理论上将要比原来的长1/3。
奇妙的Base64编码

//把word文件转成base64字符串文本
String rpath = "d:/temp/xml/base64_fromdoc.doc";
String wpath = "d:/temp/xml/base64_tost..

阅读全文>>

Tags: JAVA   编码  

类别: 字符编码 |  评论(0) |  浏览(658) |  收藏
2007年08月30日 17:39:47

编码

Java 源代码-> Java 字节码-> ;虚拟机->操作系统->显示设备     http://www-128.ibm.com/developerworks/cn/java/java_chinese/index.html


http://blog.matrix.org.cn/page/eoeac?catn..

阅读全文>>

Tags: JAVA  

类别: 字符编码 |  评论(0) |  浏览(572) |  收藏