当前位置:网站首页>Solve the problem that zxing's QR code contains Chinese garbled code
Solve the problem that zxing's QR code contains Chinese garbled code
2022-06-29 10:26:00 【zlbcdn】
problem :
Use zxing Generate QR Code time , Because of the original string It contains Chinese , When scanning QR code , Chinese will appear “???” problem .
Solution :
1、 download zxing:GitHub The address of :GitHub Download address
2、 I use .NET by 4.0 edition , So find the file shown below , Pictured : 
3、 Open file , Change the following encoding method to :
// original
internal static String DEFAULT_BYTE_MODE_ENCODING = "ISO-8859-1";
// After modification
internal static String DEFAULT_BYTE_MODE_ENCODING = "UTF-8";4、 Selected items , To regenerate the dll. Re reference in the project .
边栏推荐
- Simulation problem of two stacks
- 51nod1277 字符串中的最大值【KMP】
- C#中IEqualityComparer接口的实现
- 2019.11.3 learning summary
- Summary after the 2009 ICPC Shanghai regional competition
- September 21, 2020 referer string segmentation boost gateway code organization level
- 1021 deep root (25 points)
- 信号作品:时变和时不变
- Use of Azkaban in task scheduler
- URAL1517 Freedom of Choice 【后缀数组:最长公共连续子串】
猜你喜欢
随机推荐
Analysis of liferayportal jsonws deserialization vulnerability (cve-2020-7961)
Recyclerview sticky (suspended) head
1099 Build A Binary Search Tree (30 分)
基辅周边的凄美废墟——切尔诺贝利的安全前往指南!
JNI. H description
Dynamic planning summary
Application of Pgp in encryption technology
2020-09-18 referer authentication URL escape
Related problems of pointer array, array pointer and parameter passing
Recurrence of vulnerability analysis for Cisco ASA, FTD and hyperflex HX
Using rancher to build kubernetes cluster
这个开源项目超哇塞,手写照片在线生成
winform使用zxing生成二维码
Codeforces Round #659 (Div. 2)
F5 big IP Icontrol rest command execution (cve-2022-1388)
Reverse thinking - short story
SymPy Tutorial(译)
Codeforces Round #657 Div. 2
2019.10.16训练总结
HDU 6778 Car (分组枚举-->状压 dp)









