* charset.c (convert_using_iconv): Close out any shift states,