Note that the default being ISO-8859-1 may not make sense for all content types, e.g. Content-Type: image/gif; charset=ISO-8859-1 In the above case you need to pass -charset => '' to prevent the default being used.