当前位置:网站首页>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 .
边栏推荐
- 点在多边形内外的判断
- JNI. H description
- 通过Win32API调用另一界面的按钮
- Seaweedfs security configuration
- Sixteen system counter and flow lamp
- Rikka with cake (segment tree + segment tree)
- F5 big IP Icontrol rest command execution (cve-2022-1388)
- 在VMware workstation中安装WMware ESXi 6.5.0并进行配置
- winform使用zxing生成二维码
- Signal works: time varying and time invariant
猜你喜欢

這個開源項目超哇塞,手寫照片在線生成

The stones game

Recurrence of vulnerability analysis for Cisco ASA, FTD and hyperflex HX

点在多边形内外的判断

Arc view and arc viewpager

Application of keil5 integrated development environment for single chip microcomputer

Nacos环境隔离

十六制计数器和流水灯

Ce projet Open source est super wow, des photos manuscrites sont générées en ligne

HDU 6778 Car (分组枚举-->状压 dp)
随机推荐
mysql 8.0 一条insert语句的具体执行流程分析(二)
C#中IEqualityComparer接口的实现
2019.10.20训练总结
Codeforces Round #659 (Div. 2)
L2-3 is this a binary search tree- The explanation is wonderful
子串分值-超详细版——最后的编程挑战
通过Win32API调用另一界面的按钮
查看CSDN的博客排名
Wandering -- the last programming challenge
函数指针、函数指针数组、计算器+转移表等归纳总结
1021 Deepest Root (25 分)
2019.11.20 training summary
51nod1277 maximum value in string [KMP]
2021 team programming ladder competition - Simulation Competition
Recyclerview universal adapter package
2019.10.6 training summary
51nod1277 字符串中的最大值【KMP】
2019.11.13 training summary
2019.10.23 training summary
Codeforces Round #659 (Div. 2)