emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and


From: Eli Zaretskii
Subject: Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point
Date: Fri, 21 Mar 2014 10:04:05 +0200

> Date: Fri, 21 Mar 2014 05:47:11 +0200
> From: Dmitry Gutov <address@hidden>
> CC: address@hidden, address@hidden
> 
> > In any case, please note that UTF-8 and the internal encoding used by
> > Emacs are not exactly identical, so IMO you should encode into UTF-8
> > and then use 'length' to compute the "column".
> 
> This makes sense. I don't think anyone's likely to encounter a source 
> file with characters that are encoded differently between utf-8 and 
> utf-8-emacs, but I guess the latter is unspecced, so it could change in 
> the future.

The most popular use case for the differences between internal
encoding and UTF-8 is when you have raw binary bytes in the source,
for some reason.



reply via email to

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