darcs

Issue 1867 encoding issues with darcs show authors (2.4.3)

Title encoding issues with darcs show authors (2.4.3)
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List caitt, dmitry.kurochkin, kowey
Assigned To caitt
Topics Regression, UI

Created on 2010-06-07.09:00:11 by kowey, last changed 2017-07-30.23:58:59 by gh.

Messages
msg11299 (view) Author: kowey Date: 2010-06-07.09:00:09
Hi Tomáš,

I have a Darcs bug which I think you may be interested in looking at. 
Do you think you might have some time for it?  Please feel free to say
no (I'll unassign it if I don't hear back from you; the assigned-to
field is just for my tracking purposes).

This is the sort of minor bug which may turn out to require a whole lot
more thinking than it seems to be worth (but maybe thinking about this
is important because it reflects some deeper issues).

Do darcs show authors | grep Marco

Notice we have the correct output with darcs 2.3.1, but the *incorrect*
output with darcs 2.4.3

Why? I doubt it's directly related to Reinier's UTF-8 metadata work
since that's not in the Darcs 2.4 line, so what else has changed?
msg11410 (view) Author: caitt Date: 2010-06-14.06:58:32
2010/6/7 Eric Kow <bugs@darcs.net>:
>
> New submission from Eric Kow <kowey@darcs.net>:
>
> Hi Tomáš,
>
> I have a Darcs bug which I think you may be interested in looking at.
>
> Do darcs show authors | grep Marco
>
> Notice we have the correct output with darcs 2.3.1, but the *incorrect*
> output with darcs 2.4.3
>
> Why? I doubt it's directly related to Reinier's UTF-8 metadata work
> since that's not in the Darcs 2.4 line, so what else has changed?
>

Well, that's a quite bad bug report ... what is the bug exactly?

Anyway, on my computer:

$ ./dist/build/darcs/darcs show authors | grep Marc
5             Marco Túlio Gontijo e Silva <...>
$ darcs show authors | grep Marc
5             Marco Túlio Gontijo e Silva <...>

where

$ darcs --version
2.3.1 (release)

$ ./dist/build/darcs/darcs --exact-version
darcs compiled on Dec 29 2009, at 10:08:50
context not available

According to me, the error (whatever it is) was made later on. The
darcs I used for this test I quite old working copy (I basically
stopped darcs hacking long time ago). It contains my patch and some
others (it is bit newer than the patch) but excludes any utf-8 stuff
as I had problems with depencencies so I did not merge any utf related
patches.

-- 
Tomas Caithaml

Don't anthropomorphize computers. They hate it when you do that.
msg11412 (view) Author: kowey Date: 2010-06-14.08:45:31
Sorry for the bad bug report!

On my system with a UTF-8 locale, I see this:
5	Marco T�lio Gontijo e Silva <...>

whereas the expected output (the one I get with an older darcs) is:
5             Marco Túlio Gontijo e Silva <...>
History
Date User Action Args
2010-06-07 09:00:11koweycreate
2010-06-14 06:58:33caittsetmessages: + msg11410
2010-06-14 08:45:32koweysetmessages: + msg11412
2017-07-30 23:58:59ghsetstatus: needs-reproduction -> given-up