string decode utf-8

前端 未结 3 1971
予麋鹿
予麋鹿 2020-12-05 14:32

How can I decode an utf-8 string with android? I tried with this commands but output is the same of input:

URLDecoder.decode(\"hello&//à\", \"UTF-8\");

         


        
3条回答
  •  爱一瞬间的悲伤
    2020-12-05 15:27

    Try looking at decode string encoded in utf-8 format in android but it doesn't look like your string is encoded with anything particular. What do you think the output should be?

提交回复
热议问题