title: .NET MessagingToolkit QRCode Encode Issue
body: <p>I've been using the .NET MessagingToolkit.QRCode library for some time on my websites in order to generate QR codes with custom images on top and until now I have had no problems at all with this library.</p>
  
  <p>Recently, the data I need to encode has gotten larger as a result of system growth and attempting to encode this data within a QR code has been causing internal "index out of range" exceptions within the Encode method of the QRCodeEncoder class.</p>
  
  <p>Through testing I have noted that the maximum number of characters this method appears to accept is 86 and anything greater than this will throw the exception. Changing the encoding type of the string passed in does not help.</p>
  
  <p>I did note that the version of the library I was using was out of date, however, updating to the latest version also did not solve the problem.</p>
  
  <p>Has anyone else experienced this issue with the library and found a solution? Alternatively, is there another library I could use which does not have such problems?</p>
  
  <p>The exception details are below:</p>
  
  <p><code>2012-10-01 17:39:52,098 Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
     at MessagingToolkit.QRCode.Codec.QRCodeEncoder.divideDataBy8Bits(Int32[] data, SByte[] bits, Int32 maxDataCodewords)
     at MessagingToolkit.QRCode.Codec.QRCodeEncoder.calQrcode(Byte[] qrcodeData)
     at MessagingToolkit.QRCode.Codec.QRCodeEncoder.Encode(String content, Encoding encoding)
     at MessagingToolkit.QRCode.Codec.QRCodeEncoder.Encode(String content)</code></p>