Here you can find the source of Utf8codeCheck(String text)
private static boolean Utf8codeCheck(String text)
//package com.java2s; public class Main { private static boolean Utf8codeCheck(String text) { String sign = ""; if (text.startsWith("%e")) { for (int p = 0; p != -1;) { p = text.indexOf("%", p); if (p != -1) { p++;/* w ww . j av a 2 s . c o m*/ } sign += p; } } return sign.equals("147-1"); } }