oscar icon indicating copy to clipboard operation
oscar copied to clipboard

ascii encode issue

Open roopkeed opened this issue 6 years ago • 1 comments

(New to coding python, New in Github. Sorry to do the wrong way) Because of ascii encode issue with description received from Digiteyes, I had to add " .encode('utf-8') " to <try: desc = u.get_description(barcode) print "Received description '{0}' for barcode {1}".format(desc, unicode(barcode)) except CodeInvalid: print "Barcode {0} not recognized as a UPC; creating learning opportunity".format(unicode(barcode)).encode('utf-8') >

roopkeed avatar Jan 14 '19 08:01 roopkeed

I wanted my kitchen PC to have more horsepower than a Pi, so I've modified the installation routine quite a bit in my fork, and have included your fix, thanks!

henroFall avatar Jun 11 '20 04:06 henroFall