title: Get readable output from RFID scanner for encrypted PDF417 barcode
body: <p>I am testing a CipherLab handheld RFID reader to scan a driver license which has an encrypted PDF417 barcode with binary data.</p>
  <p>When I scan the barcode, I get the below string values, which obviously means nothing. Is there a way to set the scanner to not return the barcode text &quot;as is&quot;, but rather return the barcode as a base64 string or hex string.</p>
  <p>Return string from barcode scan:</p>
  <blockquote>
  <p>› E��¥—IÉ?K ×[´
  =î®—æ~$Œ§òè&gt;–Çº9?vƒÛîÎH†dò{EÑÆÃ:ô&amp;œ ÓÀ
  ø.ÖÊ\ñ…Ç@ÇÅ|'Å%f ö€Ïö€dð    E¢öJAN¨µL¤Shwšr&quot;ÜAœ@-¸;—<em>L&gt;ûlH;'ômƒJ²ê
  ïB»<code>Î‡#{jmÛXaùÛwÛø‰¸žZ»t±~ -K¦F€©òW-Í¶˜\8q®'0eyÀV@&quot;~AÓ×ÕP„]žsáŠ T!ÿ½I±$¿wf¤Nä¢ÆS¯Ë,Åï]¯(p&amp;°ë8éõ™ª-°· .$Ô¹ÃbÞ    H/¥å0ž·F}ñ pÎ( üïê5Þ�åPdâb&quot;˜Ñyc–á!D ;ÊX¦Ý!àï</code>‡og ßÓø-D¥ª®&amp;ÜÖÃ=Ü‡‚Ô•¸6?ïþi«^^†ÃzÛÏMä!Ý®. :ô@ôÃ[Üv$YÔÄnÜ'¤¯ƒ&quot;²    kÖ‰ 0c‚&amp;¼Gð7èé]·Í&quot;ßáúÿ?ÀÓ™ÿÎÔn°åy¸(ÜÓŸ¹+Ÿø½1•Üt½Š¥é�f@5ëì¦f¶</em>üñ<code>ýÒ&gt;ˆ¯JíóRqMÿ\ž¹|i</code>/T£04¸¬~É¡aµˆßg   wÙÌÿêú3fÒÇßÀáˆ½ÅÕ°;üð¾AÖP²3ÿ—‡V€§R€o;&amp; »&quot;¼ÔÃùÀ¤9À�wZß!&lt;›ŠõU?!o+&quot;¡©ùcœÒÄ Ö*ªjšé©Zkkæ¸u!{íxûñ{ñanõ ®|Á'LãBµ!í«xE:ÖsãÉ7„½øND'ƒôû—$âåÂ5öˆóòŠÐ0ýêYg#ùçƒƒPíÂ\îpm¸‹')¨ƒœƒ4Ó+Šš$bqÖ¿xÜL</p>
  </blockquote>
  <p>The barcode I am referring to:
  <a href="https://i.stack.imgur.com/EWcOh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EWcOh.jpg" alt="enter image description here" /></a></p>