android Programming Glossary: event.attributes.put
decode string encoded in utf-8 format in android http://stackoverflow.com/questions/5828091/decode-string-encoded-in-utf-8-format-in-android try BufferedReader in new BufferedReader new InputStreamReader new ByteArrayInputStream nodevalue.getBytes UTF8 event.attributes.put title in.readLine catch UnsupportedEncodingException e TODO Auto generated catch block e.printStackTrace catch IOException.. e.printStackTrace catch IOException e TODO Auto generated catch block e.printStackTrace I have also tried this try event.attributes.put title URLDecoder.decode nodevalue UTF 8 catch UnsupportedEncodingException e TODO Auto generated catch block e.printStackTrace.. try BufferedReader in new BufferedReader new InputStreamReader new ByteArrayInputStream nodevalue.getBytes UTF8 event.attributes.put title in.readLine catch UnsupportedEncodingException e TODO Auto generated catch block e.printStackTrace catch IOException..
|