MB_CUR_MAX is not correct for Android