Class EncodingUtil


  • public class EncodingUtil
    extends Object
    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
    • Constructor Detail

      • EncodingUtil

        public EncodingUtil()
    • Method Detail

      • handleBOMUTF8

        public static void handleBOMUTF8​(String[] vales,
                                         int i)
        Oracle jdk bug 4508058: UTF-8 encoding does not recognize initial BOM, and it will not be fixed. Work Around : Application code must recognize and skip the BOM itself.