schmich / instascan

HTML5 QR code scanner using your webcam
https://schmich.github.io/instascan/
MIT License
2.97k stars 866 forks source link

Apply to various encoding #252

Open hashi0203 opened 4 years ago

hashi0203 commented 4 years ago

I used "encoding-japanese" to upgrade the instascan. Before this upgrade, we can convert QR codes whose encoding is UTF-16, but now if we add "inferEncoding" option we can read QR codes whose encoding is JIS, EUCJP and so on. I just added this option, so any applications using the current version of instascan can be used without any change. Thank you.