Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH v2] fetch: align new ref summary printout in UTF-8 locales

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:54:38

On Thu, Sep 6, 2012 at 2:20 AM, Torsten Bögershausen [off-list ref] wrote:
quoted
Will that work for non-ASCII encodings?
For ISO-8859-x we can say strlen() == strwidth(),
but for other encodings using multibytes that doesn't work, does it?
BTW if you are interested in supporting non-utf8 output, you may want
to look at 1452bd6 (branch -v: align even when branch names are in
UTF-8 - 2012-08-26), which assumes branches are in utf-8. So you have
to convert them to output charset before printing.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help