Java UTF8 From getUTF8(byte[] bytes)

Here you can find the source of getUTF8(byte[] bytes)

Description

get UTF

License

Open Source License

Declaration

public static String getUTF8(byte[] bytes) throws UnsupportedEncodingException 

Method Source Code


//package com.java2s;
import java.io.UnsupportedEncodingException;

public class Main {

    public static String getUTF8(byte[] bytes) throws UnsupportedEncodingException {
        return new String(bytes, "UTF-8");
    }/*from   w ww  .ja va  2 s. com*/
}

Related

  1. getUTF8(String data)
  2. getUTF8(String s)
  3. getUTF8(String string)
  4. getUTF8Bytes(String data)