[Top][All Lists]

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

Fix wrong character count in argp

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Fix wrong character count in argp
Date: Sun, 12 Feb 2012 16:49:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

As already reported several years ago argp counts bytes even when
actually what matters is the display length. This patch improves the
situation by counting only leading and standalone UTF-8 bytes. It
doesn't handle the double-width characters like Chinese sinograms

Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: argp_utf8.diff
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]