This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/49973] Column numbers count special characters as multiple columns


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973

--- Comment #10 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-12-07 20:56:01 UTC ---
On Wed, 7 Dec 2011, tromey at gcc dot gnu.org wrote:

> Note that GCC also handles the tab case incorrectly here.

Yes, GCC should be fixed to follow the GCS there as well.

The GCS now explicitly say "For non-ASCII characters, Unicode character 
widths should be used when in a UTF-8 locale; GNU libc and GNU gnulib 
provide suitable @code{wcwidth} functions."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]