title: How to decode raw data (non-ascii char) from a barcode scanner
body: <p>Me and my dev team have a project that .... us from using a handheld barcode scanner. In order to do the job we have to convert the barcode scanner signal into a raw data and send that data trough RS232 to our PC and then process it with VB.net app. I already got the raw data that i want to process, the problem is the raw data only contain non-printable ascii char that starting from 220 up to 255. my question is there any method to decode the raw data into a meaningful printable-ascii (in any language like java,ruby, etc)?</p>
  
  <p>Scanner used is <a href="http://solution.co.id/bs100.php" rel="nofollow noreferrer">Solutions BS100</a>. 
  The default setting for the scanner is outputting it's data trough USB and it's autodetected as HID keyboard, this isn't a common approach but sometimes as an egineer on my team I have try another one. so I think I captured it properly tough a custom hardware for serial connection needed. I removed the default USB port and change it to rj45 signal with MAX487 IC and then convert it back to rs232 level so I can feed the signal directly to COM1 of my PC</p>
  
  <p>Data returned:</p>
  
  <pre><code>250 224 250 221 255 224 221 255 248 224 248 221 255 224 253 255 221 255 224 221 255 221 255 224 221 255 253 255 224 221 255 221 255 224 253 255 253 255 224 221 255 221 255 224 253 255 246 224 246 233 224 233
  </code></pre>
  
  <p>From image:
  <img src="https://i.stack.imgur.com/JWa0a.jpg" alt="Image scanned"></p>