Here you can find the source of fromUTF8(byte[] ba)
public static String fromUTF8(byte[] ba)
//package com.java2s; //License from project: Open Source License import java.nio.charset.StandardCharsets; public class Main { public static String fromUTF8(byte[] ba) { return new String(ba, StandardCharsets.UTF_8); }/*w w w. ja v a2 s . c o m*/ }