Hi,
We have system here that uses Java JNI to call a function in a C library. Everything running on Solaris.
I have a problem somewhere with string encoding. An arabic character is returned by the function written in C, but the JNI methods receives a string with another encoding. I already tried setting $NLS_LANG, and the vm parameter for encoding the same way, but nothing has worked. So I need to be able to debug the C code and the Java JNI together.
what is the best way to debug it?