从XML响应解析西班牙语字符(á,é,í,ó,ú)时遇到问题 [英] Problems parsing Spanish characters (á, é, í, ó, ú) from XML response

查看:113
本文介绍了从XML响应解析西班牙语字符(á,é,í,ó,ú)时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Java应用程序,该应用程序从Internet调用PHP,它给了我XML响应.

I'm developing a Java app, that calls a PHP from internet that it's giving me a XML response.

响应中包含以下单词:Próximo",但是当我解析XML的节点并将响应返回到String变量中时,我收到的单词是:"Pr& oacute; ximo".

In the response is contained this word: "Próximo", but when i parse the nodes of the XML and obtain the response into a String variable, I'm receiving the word like this: "Próximo".

我该如何解决?

推荐答案

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆