You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want use minizip with Android NDK.
and I found that some ndk version has poor iconv support (only support in 32 bits).
I notice iconv_* is only used in mz_os_utf8_string_create which is only called by mz_zip_reader_save_all with reader->encoding > 0 and reader->file_info->flag & MZ_ZIP_FLAG_UTF8.
it's useless in some situation.
Shall we add a build option to remove iconv dependency for some platform?
or use JNI to call Java API for encoding converting.
We probably need a HAVE_ICONV definition added to CMakeLists.txt, then we can check if we have it. If we don't then just put a compiler warning and skip iconv code.
Activity
nmoinvaz commentedon Apr 8, 2020
We probably need a
HAVE_ICONVdefinition added to CMakeLists.txt, then we can check if we have it. If we don't then just put a compiler warning and skip iconv code.Fixed compilation when iconv is not supported on platform. #463
nmoinvaz commentedon Apr 8, 2020
I have made some changes to the
devbranch. Please try them and let me know how it works for you.Fixed compilation when iconv is not supported on platform. #463
okhowang commentedon Apr 8, 2020
It's OK to me.
Thank you