Re: [PATCH 2/2] Make it possible to update git_wcwidth()

2014-05-12 Thread Junio C Hamano
Peter Krefting writes: > Torsten Bögershausen: > >> The function git_wcwidth() returns for a given unicode code point the >> width on the display: >> -1 for control characters, >> 0 for combining or other non-visible code points >> 1 for e.g. ASCII >> 2 for double-width code points. > > This all

Re: [PATCH 2/2] Make it possible to update git_wcwidth()

2014-05-12 Thread Junio C Hamano
Torsten Bögershausen writes: > The function git_wcwidth() returns for a given unicode code point the > width on the display: > -1 for control characters, > 0 for combining or other non-visible code points > 1 for e.g. ASCII > 2 for double-width code points. > > This table had been originally b

Re: [PATCH 2/2] Make it possible to update git_wcwidth()

2014-05-12 Thread Peter Krefting
Torsten Bögershausen: The function git_wcwidth() returns for a given unicode code point the width on the display: -1 for control characters, 0 for combining or other non-visible code points 1 for e.g. ASCII 2 for double-width code points. This all looks sane, but the problem is that this is al

[PATCH 2/2] Make it possible to update git_wcwidth()

2014-05-09 Thread Torsten Bögershausen
The function git_wcwidth() returns for a given unicode code point the width on the display: -1 for control characters, 0 for combining or other non-visible code points 1 for e.g. ASCII 2 for double-width code points. This table had been originally been extracted for one Unicode version, probabl