jenly1314 / WeChatQRCode

⛄ 基于OpenCV开源的微信二维码引擎移植的二维码扫码识别库
https://jenly1314.github.io/WeChatQRCode/
Apache License 2.0
607 stars 120 forks source link

WechatQR Crashes #16

Closed dineshkandan closed 2 months ago

dineshkandan commented 2 years ago

App getting crash when i scan below Qrcode

154214713-46bc2c08-739e-497a-99f3-1fcda027a977

2022-03-30 19:08:41.975 24007-26123/com.king.wechat.qrcode.app A/chat.qrcode.ap: java_vm_ext.cc:578] JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0x82 java_vm_ext.cc:578] string: 'This is a Test ��f' java_vm_ext.cc:578] input: '0x54 0x68 0x69 0x73 0x20 0x69 0x73 0x20 0x61 0x20 0x54 0x65 0x73 0x74 0x20 <0x82> 0xf1 0x8b 0x66' java_vm_ext.cc:578] in call to NewStringUTF java_vm_ext.cc:578] from java.util.List org.opencv.wechat_qrcode.WeChatQRCode.detectAndDecode_1(long, long)

@jenly1314

kdmmdk commented 1 year ago

use gb2312 to decode the byte, your content is not utf-8.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.