crash - JNI WARNING: input is not valid modified utf-8: illegal continuation byte
2014-05-08 12:51
731 查看
the key point is "Modified UTF-8" is not like "Regular UTF-8", a legal Rgular UTF8 code sequence may be considered illegal against Modified UTF8.
One work around in NDK level is : converting utf8 to native utf16, then use NewString() instead of NewStringUTF().
One work around in NDK level is : converting utf8 to native utf16, then use NewString() instead of NewStringUTF().
相关文章推荐
- JNI WARNING: NewStringUTF input is not valid Modified UTF-8: illegal start byte 0xf5
- JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0x12
- JNI WARNING: input is not valid Modified UTF-8: illegal start byte 0xfe
- JNI WARNING: NewStringUTF input is not valid Modified UTF-8: illegal start byte 0xb0
- JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0x3f
- input is not valid Modified UTF-8: illegal start byte 0x**
- jni 中使用NewStringUTF时报错:input is not valid Modified UTF-8: illegal start byte 0xa0(十六进制未定义字符)
- jni 中使用NewStringUTF时报错:input is not valid Modified UTF-8: illegal start byte 0xa0
- JNI WARNING: input is not valid Modified UTF-8
- 关于调用listFile()在遍历含有乱码文件时出现input is not valid Modified UTF-8错误的解决方法
- newStringUTF出现input is not valid Modified UTF-8错误解决办法
- java.lang.IllegalStateException:Make sure the content of your adapter is not modified from a backgro
- cocos2dx2.2.6版本,android5.0宕机,not valid Modified UTF-8
- 错误提示:transform.position assign attempt for 'XXX' is notvalid。Input rotation is {NaN, NaN, NaN, NaN}
- 遇到BAM报错“input is not proper UTF-8”的一个可能解决方案
- 【opencl】buildprogram错误日志提示source file is not valid utf-8
- The input stream is not a valid binary format
- Android JNI WARNING: illegal continuation byte 0xd2
- xamarin studio 更新后编译报错 The supplied byte array is not a valid .ico file
- The input character is not valid in MATLAB statements or expressions.