特殊字符编码不适用于õ和Ö但它适用于ë,Ë和Ä。 我的代码如下:
encodeUrl = encodeUrl.replaceAll("%C3%AB","%25C3%25AB"); //working for ë
encodeUrl = encodeUrl.replaceAll("%C3%8B","%25C3%258B"); //working for Ë
encodeUrl = encodeUrl.replaceAll("%C3%84","%25C3%2584"); //working for Ä
encodeUrl = encodeUrl.replaceAll("%C3%96","%25C3%2596");//not working Ö
encodeUrl = encodeUrl.replaceAll("%C3%B6","%25C3%25B6");//not working ö