import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; ScriptEngineManager sem = new ScriptEngineManager(); ScriptEngine engine = sem.getEngineByExtension("js"); Object res = engine.eval(" unescape('%u620E%u8F89')");