Java GBK String Convert gbk2Iso(String str)

Here you can find the source of gbk2Iso(String str)

Description

gbk Iso

License

Open Source License

Declaration

public static final String gbk2Iso(String str) throws UnsupportedEncodingException 

Method Source Code

//package com.java2s;

import java.io.UnsupportedEncodingException;

public class Main {

    public static final String gbk2Iso(String str) throws UnsupportedEncodingException {
        return new String(str.getBytes("GBK"), "iso-8859-1");
    }//from   w  ww  .  jav a2  s  . c o  m
}

Related

  1. gbk2iso(String s)
  2. gbk2Utf8(String str)
  3. getGBKByteLength(String data)