From: Jonathan Nieder <jrnieder@gmail.com>
To: "İsmail Dönmez" <ismail@namtrac.org>
Cc: git@vger.kernel.org
Subject: Re: Encoding problem on OSX?
Date: Mon, 9 Aug 2010 18:46:21 -0500 [thread overview]
Message-ID: <20100809234620.GA6418@burratino> (raw)
In-Reply-To: <AANLkTiky2uUHfOsh8rNXZPEqTLcNSZowy=Qcm+4Hjn_n@mail.gmail.com>
İsmail Dönmez wrote:
> git shortlog HEAD >log &&
> fuzz log >log.predictable &&
> test_cmp expect.template log.predictable
>
> --- expect.template 2010-08-09 13:45:46.000000000 +0000
> +++ log.predictable 2010-08-09 13:45:46.000000000 +0000
> @@ -1,8 +1,8 @@
> A U Thor (5):
> SUBJECT
> SUBJECT
> - SUBJECT
> - SUBJECT
> + SUBJECT𝄞s 𝄞s a very, very long f𝄞rst l𝄞ne for the comm𝄞t
> message to see 𝄞f 𝄞t 𝄞s wrapped correctly
> + SUBJECT????s ????s a very, very long f????rst l????ne for the
> comm????t message to see ????f ????t ????s wrapped correctly
> SUBJECT
Very interesting; thanks for a report.
From the definition of fuzz(), it looks like
sed "
s/$_x40/OBJECT_NAME/g
s/$_x05/OBJID/g
s/^ \{6\}[CTa].*/ SUBJECT/g
s/^ \{8\}[^ ].*/ CONTINUATION/g
" <log >log.fuzzy
failed to completely match the fourth and five lines of the shortlog:
A U Thor (5):
Test
This is a very, very long first[etc]
Th𝄞s 𝄞s a very, very long f𝄞rst[etc]
Th<malformed treble clef>s <malformed treble clef>s a...
Could you confirm this? What does
locale
printf 'Th\360\235\204\236s\n' | sed 's/.*//g'
print?
Jonathan
next prev parent reply other threads:[~2010-08-09 23:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTikh12guRxCK2Vf=WvshzX8P-fYTyu3qxYWNJ2px@mail.gmail.com>
2010-08-09 13:58 ` Encoding problem on OSX? İsmail Dönmez
2010-08-09 23:46 ` Jonathan Nieder [this message]
2010-08-10 5:52 ` İsmail Dönmez
2010-08-11 7:55 ` Jonathan Nieder
2010-08-11 8:20 ` İsmail Dönmez
2010-08-11 8:29 ` Jonathan Nieder
2010-08-11 8:33 ` İsmail Dönmez
2010-08-11 8:44 ` Jonathan Nieder
2010-08-11 8:47 ` İsmail Dönmez
2010-08-11 9:01 ` İsmail Dönmez
2010-08-11 9:23 ` Jonathan Nieder
2010-09-27 2:31 ` Jonathan Nieder
2010-09-27 5:15 ` Kevin Ballard
2010-09-27 5:18 ` İsmail Dönmez
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100809234620.GA6418@burratino \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=ismail@namtrac.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.
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 NNTP newsgroup(s).