diff --git a/jnius/jnius_conversion.pxi b/jnius/jnius_conversion.pxi index 00daf96..39d603a 100644 --- a/jnius/jnius_conversion.pxi +++ b/jnius/jnius_conversion.pxi @@ -224,7 +224,7 @@ cdef convert_jarray_to_python(JNIEnv *j_env, definition, jobject j_object): elif r == 'C': j_chars = j_env[0].GetCharArrayElements( j_env, j_object, &iscopy) - ret = [chr(j_chars[i]) for i in range(array_size)] + ret = [unichr(j_chars[i]) for i in range(array_size)] j_env[0].ReleaseCharArrayElements( j_env, j_object, j_chars, 0)