WeChatQRCode icon indicating copy to clipboard operation
WeChatQRCode copied to clipboard

WechatQR Crashes

Open dineshkandan opened this issue 2 years ago • 1 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

dineshkandan avatar Mar 30 '22 13:03 dineshkandan

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

kdmmdk avatar Jul 18 '23 02:07 kdmmdk