Re: [PATCH] git-blame: Make the output human readable
- From
- linux@horizon.com <linux@horizon.com>
- Date
- Mar 8, 2006, 18:04 UTC
- Message-ID
- <20060308180422.27978.qmail@science.horizon.com>
- In-Reply-To
- <20060308173249.1faed1d7.vsu@altlinux.ru>
> And this won't work, unless you also add that wcwidth() implementation > to git.
That was the general idea. It is freely usable.
> The problem is that the wchar_t encoding is not specified anywhere - > glibc uses Unicode for it, but other systems can use whatever they want > (even locale-dependent).
Why is that a problem? None of the code mentioned even uses wchar_t. The code I wrote converts from UTF-8 to straight Unicode, and that's what Markus Kuhn's wcwidth() expects as an argument.
At no time do we ask the compiler for its opinion on the subject.