Java UTF8 isUtf8Supported()

Here you can find the source of isUtf8Supported()

Description

is Utf Supported

License

Apache License

Declaration

public static boolean isUtf8Supported() 

Method Source Code


//package com.java2s;
// Licensed to the Apache Software Foundation (ASF) under one

import java.nio.charset.Charset;

public class Main {
    private static final String UTF8 = "UTF-8";

    public static boolean isUtf8Supported() {
        return Charset.isSupported(UTF8);
    }//from  ww w  . j  a  v a 2  s .  c o  m
}

Related

  1. getUTF8SuportOutput()
  2. getUTF8Writer(String path)
  3. hasLeadingWhitespace(File inputFile)
  4. inputStreamToFile(final InputStream inputStream, final File outputFile)
  5. isSystemUtf8()
  6. loadStringUTF8(InputStream in)
  7. makeUTF8()
  8. moveFile(File inFile, File outFile)
  9. newUTF8Decoder()