On Apr 27, 2012, at 12:10 AM, Grant McLean wrote: > OK, so I went ahead and implemented both the warning and the heuristic > to guess Latin-1 vs UTF-8 (only when no encoding was specified). The > resulting patch is here: > > https://github.com/theory/pod-simple/pull/26
I like this, but wonder if maybe it shouldn't be consistent? That is, if you see more than one of these in a single document, and one can be output as UTF-8 and the other can’t, would the resulting output have mixed encodings? IOW, should it not perhaps use the encoding it determined for the first one of these it finds in a document? Best, David
