title: base64 decode string and encode all special characters lost
body: <p>I have a Java class which I convert to string using GSON. Post this the string is base64 encoded (for some reason, lets not go there :) ) When I decode it back I lose all { and " " characters in json.</p>
  
  <p>For example: {"name":"ABC"} decoded and encoded back becomes nameABC</p>
  
  <p>I want to get my old data back i.e I want {"name:"ABC"} back</p>
  
  <pre><code>String json = "{\"name\":\"ABC\"}";
  byte en[] = android.util.Base64.decode(json,Base64.NO_WRAP);
  String st = android.util.Base64.encodeToString(en,Base64.NO_WRAP);
  </code></pre>
  
  <p>Something as simple as above, content is lost</p>
  
  <p>Please help </p>