use mime charset only if content-type is missing