String encoding/decoding (PHP-Android)

in my Android app I use this method: \[code\]URLDecoder.decode(this.name,"UTF-8")\[/code\]It decodes the name sent from my server side, where, in PHP, I use:\[code\]urlencode($name);\[/code\]Apparently, this is not working. I want the name to show with national characters. Could you help me how to solve this problem? Thanks in advance.
 
Top