Java CharsetDecoder create from Charset

Description

Java CharsetDecoder create from Charset

import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;

public class Main {
  public static void main(String[] argv) throws Exception {
   //from   w  ww  . j a v a  2 s.co  m
    CharsetDecoder de= Charset.defaultCharset().newDecoder();
    System.out.println(de.replacement());
   
  }

  
}



PreviousNext

Related