有道翻译接口Api
http://fanyi.youdao.com/openapi.do?keyfrom=***&key=***&type=data&doctype=json&version=1.1&q=word
word就是查询内容,如hello,但是查询中文“你好”出现返回乱码。
解决办法:String lastedword=URLEncoder.encode(word, "UTF-8");
http://fanyi.youdao.com/openapi.do?keyfrom=***&key=***&type=data&doctype=json&version=1.1&q=word