bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24953: 25.1; Possible inefficiency in UTF-8


From: Eli Barzilay
Subject: bug#24953: 25.1; Possible inefficiency in UTF-8
Date: Mon, 21 Nov 2016 16:38:07 -0500

On Sun, Nov 20, 2016 at 10:32 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> If this is not expected, I can try to get reproducible instructions.
>
> It isn't expected with Emacs 25.1, as it specifically sets up things
> assuming Git reports its data in UTF-8.  Are you sure you didn't set
> i18n.commitEncoding in your Git configuration, or have some non-ASCII
> text encoded in something other than UTF-8 in that repository?

I just ran into an encoding problem, with files now: openning a utf-8
file with a single lambda (\316\273) sometimes failes, and I traced this
to whether I start Emacs from Windows or from a cygwin shell.  In the
latter case, my shell has an explicit LANG setting and the result is
that Emacs opens that file fine, but in the first case, when Emacs is
started directly by windows, there is no LANG, and the utf-8 file is not
treated as such (looks like it opens it in latin-1).  I verified this
with "emacs -Q" too.

-- 
                   ((x=>x(x))(x=>x(x)))                  Eli Barzilay:
                   http://barzilay.org/                  Maze is Life!





reply via email to

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