Skip to content

Commit

Permalink
Merge pull request #144 from retsyo/patch-2
Browse files Browse the repository at this point in the history
Update jnius_conversion.pxi
  • Loading branch information
tito committed Feb 6, 2015
2 parents 8258390 + 1566462 commit df786e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jnius/jnius_conversion.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -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(<char>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)

Expand Down

0 comments on commit df786e2

Please sign in to comment.