Did you consider extracting application/zip part from the header and ignoring the bad charset value?