Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

由于是调用的windows下的cmd窗口,导致某些字符在进行编码转换时,会丢失字节。 #34

Open
blackangeldsf opened this issue Mar 15, 2022 · 1 comment

Comments

@blackangeldsf
Copy link

pyzxing和zxing一样,都是调用的cmd窗口。在通过使用stdout捕获命令执行结果时,可能会导致二进制编码丢失。然而使用pyzbar就不会丢失字节,因为pyzbar调用的是zxing的库(dll版本)。希望作者能给解决下。
附件是我测试出问题的二维码
bq2-new

@ChenjieXu
Copy link
Owner

您指的丢失字节是什么,是否能提供相关调试文件。
另外,pyzbar应该调用的是zbar的dll文件,zbar是用C++编写的,和zxing还不太一样。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants