From: Jonathan Nieder Date: Fri, 22 Oct 2010 17:12:48 GMT Subject: Re: [RFC] Print diffs of UTF-16 to console / patches to email as UTF-8...? Message-ID: <20101022171248.GA11794@burratino> In-Reply-To: <1287766916.31218.71.camel@drew-northup.unet.maine.edu> Hi again, Drew Northup wrote: > That still doesn't fix the crlf issue, for starters. Also, I would like > to be able to email patches for files that are in UTF-16 and properly > re-import them. Unless I'm missing something really big there's not much > that a display filter is going to do for me there. Right, I think you're missing something big. textconv is a display filter. clean/smudge convert between internal and external representation (and your clean/smudge scripts could take care of CRLF themselves if desired). That said, I wouldn't be surprised if clean/smudge filters don't do everything you want. If you do go that way, please keep the list posted so the mechanism can be improved. And longer term, maybe people will want something tailor-made after all? I just imagine it would be more productive to try out the generic mechanisms first.