[PATCH v2 8/8] http: default text charset to iso-8859-1

2014-05-22 Thread Jeff King
This is specified by RFC 2616 as the default if no charset parameter is given. Signed-off-by: Jeff King p...@peff.net --- I'd prefer to do this simple, standard thing, and see how it works in the real world. We'll hand whatever we get off to iconv, and if it chokes, we'll pass through the data

Re: [PATCH v2 8/8] http: default text charset to iso-8859-1

2014-05-22 Thread brian m. carlson
On Thu, May 22, 2014 at 05:36:12AM -0400, Jeff King wrote: If we do want to do magic like latin1 is really iso-8859-1, that seems like the domain of iconv to me. If iconv doesn't handle it itself, I'd rather have a wrapper there. Putting it at that layer keeps the code cleaner, and it means