I am calling JNI method from Java app with couple of String arguments.
I am using env->GetStringChars(arg1, 0 ); to get that strings.
Problem is that I sometimes get some extra special characters or string is truncated.
I am calling JNI method from Java app with couple of String arguments. I
Share
Finally I found a solution