Re: Rss produced by git is not valid xml?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Nov 19, 2005, 01:05 UTC
- Message-ID
- <Pine.LNX.4.64.0511181653191.13959@g5.osdl.org>
- In-Reply-To
- <7vek5deam6.fsf@assigned-by-dhcp.cox.net>
On Fri, 18 Nov 2005, Junio C Hamano wrote:
> > Pulls are "too late, sorry you have to live with it"; for > patches, mailinfo and am have -u (I do not remember if I added > it to applymbox -- I do not use applymbox anymore myself).
It's in applymbox too, although the default is not to use it (and applymbox only supports the short "-u" form, not the "--utf8" one).
> Maybe we should make -u the default and countermand with -U to > encourage the use of utf8 further?
Probably.
Although right now "-u" doesn't actually _force_ a conversion: if you have an email with 8-bit characters and no character set mentioned, it will silently just do nothing, and the end result won't be valid UTF-8 after all.
I think. You're the one who wrote all the conversion stuff ;)
If we want utf-8, we should probably force it, and default to the latin1 translation (with some way to specify alternatives).
Linus