@Test
public void unescapeURLEncoding() {

    LocaleUtil.setContext(Locale.CHINA, "GBK");
    assertEquals("中华人民共和国", StringEscapeUtil.unescapeURL("%D6%D0%BB%AA%C8%CB%C3%F1%B9%B2%BA%CD%B9%FA"));
    LocaleUtil.setContext(Locale.US, "8859_1");
    assertEquals("\u00D6\u00D0\u00BB\u00AA\u00C8\u00CB\u00C3\u00F1\u00B9\u00B2\u00BA\u00CD\u00B9\u00FA",
            StringEscapeUtil.unescapeURL("%D6%D0%BB%AA%C8%CB%C3%F1%B9%B2%BA%CD%B9%FA"));
    LocaleUtil.resetContext();
}