jenly1314/WeChatQRCode

WechatQR Crashes

dineshkandan opened this issue · 2 comments

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

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

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.