在pin的前边加个强转,因为Android下函数需要传入的参数是char**,而程序中的pin是const char **类型的。 -1 == iconv(iconvH, (char **)pin, &strLength, &outbuf, &outLength)。