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: Dmitry Gutov
Subject: Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point
Date: Thu, 20 Mar 2014 04:56:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>>>    (length (encode-coding-string STR buffer-file-coding-system))

Alas, this doesn't work. If I set the file's encoding to UTF-16, the
current code works (with Clang 3.4), whereas using the approach above,
doesn't.

So looks like Clang uses some other encoding than that the file is saved
to disk with.

Probably UTF-8 or similar, which isn't far from utf-8-emacs.



reply via email to

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