title: BlackBerry UTF-8 InputStreamReader on Socket issue
body: <p>I'm trying to read the response from a server using a socket and the information is UTF-8 encoded.  I'm wrapping the InputStream from the socket in an InputStreamReader with the encoding set to "UTF-8".  </p>
  
  <p>For some reason it seems like only part of the response is read and then the reading just hangs for about a minute or two and then it finishes.  If I set the encoding on the InputStreamReader to "ISO-8859-1" then I can read all of the data right away, but obviously not all of the characters are displayed correctly.</p>
  
  <p>Code looks something like the following</p>
  
  <pre><code>socketConn = (SocketConnection)Connector.open(url);
  InputStreamReader is = new InputStreamReader(socketConn.openInputStream(), "UTF-8");
  </code></pre>
  
  <p>Then I read through the headers and the content.  The content is chunked and I read the line with the size of each chunk (convert to decimal from hex) to know how much to read.</p>
  
  <p>I'm not understanding the difference in reading with the two encodings and the effect it can have because it works without issue with ISO-8859-1 and it works eventually with UTF-8, there is just the long delay. </p>