unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Barzilay <eli@barzilay.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24953@debbugs.gnu.org
Subject: bug#24953: 25.1; Possible inefficiency in UTF-8
Date: Mon, 21 Nov 2016 16:38:07 -0500	[thread overview]
Message-ID: <CALO-guvfv1j9fQi09+8CJf=QU6+GsHH_Oh=WPFrA4PoRh9+Xqw@mail.gmail.com> (raw)
In-Reply-To: <83twb18q3x.fsf@gnu.org>

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	other threads:[~2016-11-21 21:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-16  4:25 bug#24953: 25.1; Possible inefficiency in UTF-8 Eli Barzilay
2016-11-16 16:17 ` Eli Zaretskii
2016-11-16 19:11   ` Eli Barzilay
2016-11-16 19:38     ` Eli Zaretskii
2016-11-16 19:59       ` Eli Barzilay
2016-11-16 20:16         ` Eli Zaretskii
2016-11-20 22:32           ` Eli Barzilay
2016-11-21  3:32             ` Eli Zaretskii
2016-11-21 21:38               ` Eli Barzilay [this message]
2016-11-22  3:33                 ` Eli Zaretskii
2016-12-11 10:53                   ` Eli Barzilay
2016-12-11 15:37                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALO-guvfv1j9fQi09+8CJf=QU6+GsHH_Oh=WPFrA4PoRh9+Xqw@mail.gmail.com' \
    --to=eli@barzilay.org \
    --cc=24953@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).