Solved iconv segfault error on android.