title: Passing degree symbol ( ° ) from XML to java
body: <p>I am working on a java application where I am making request using Fiddler by passing input in XML format. Some of my input values have (°) symbol for example °K. My java application is using ZMQ to receive request. Once i receive request I am converting it into String as follows:</p>
  
  <pre><code>ZFrame request = getFrame(2, receivedRequest);
  String inputString = new String(request.getData());
  </code></pre>
  
  <p>When I do this <code>inputString</code> contains <code>?K</code> instead of <code>°K</code>. I also tried following code:</p>
  
  <pre><code>ZFrame request = getFrame(2, receivedRequest);
  String inputString = new String(request.getData(),Charset.availableCharsets().get("UTF-8"));
  </code></pre>
  
  <p>but this also giving me <code>?K</code>. While passing XML from fiddler I included <code>encoding='UTF-8'</code>. Please help.</p>