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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 06.09.2012 um 17:36 schrieb Nguyen Thai Ngoc Duy:

> On Thu, Sep 6, 2012 at 2:20 AM, Torsten Bögershausen <tboegi@xxxxxx> wrote:
>>> 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

Thanks,
I try to re-phrase my question:

Do installations still exist which use e.g. BIG5 or any other
multi byte encoding which is not UTF-8?

Do we want to support other encodings than ASCII or UTF-8?
(Because then the screen width needs to be calculate different, I think)

/Torsten



--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]