Issue 2480 Unicode support when viewing chagnges with `whatsnew` command

Title Unicode support when viewing chagnges with `whatsnew` command
Priority wishlist Status needs-testcase
Milestone Resolved in
Superseder Nosy List geraldus
Assigned To

Created on 2015-11-22.14:38:53 by geraldus, last changed 2016-03-10.22:53:00 by bf.

File name Uploaded Type Edit Remove
darcs-screenshot.png geraldus, 2015-11-22.14:38:51 image/png
msg18857 (view) Author: geraldus Date: 2015-11-22.14:38:51
1. When displaying diffs unicode characters (for example cyrillic 
characters) are shows as `<U+xxxx>` entities.

2. I expected to see characters as is.

3. 2.10.2

4. OS X 10.10.5
msg18858 (view) Author: geraldus Date: 2015-11-22.14:46:52
Also, when viewing logs I see same entites in patch names (and I believe 
the same will be true for patch description).  This makes log information 
quite useless.
msg19071 (view) Author: bf Date: 2016-03-10.22:22:46
I thought that we had solved these issues some time ago. Apparently we
did not. I tried this here and it fails, too.

If I set


in my shell, I don't get the <U+xxxx> but some garbage, I guess the
bytes are interpreted as iso latin1 in this case.

I'll try to create a test for this.
msg19072 (view) Author: bf Date: 2016-03-10.22:52:58
I misunderstood. You are referring to the patch content, not the meta
data for the patch.

This is an open problem in Darcs. Can we enable printing patch content
in decoded form (user's locale) with an environment variable, perhaps? I
guess it would be extremely useful when e.g. managing prose with darcs.
This would assume that all patches have been recorded in the same locale
as the user that views them, but nowadays this might be the case more
often than not e.g. UTF8 locales should be compatible no matter what the
Date User Action Args
2015-11-22 14:38:53geralduscreate
2015-11-22 14:46:54geraldussetmessages: + msg18858
2016-03-10 22:22:49bfsetpriority: wishlist -> bug
status: unknown -> needs-testcase
messages: + msg19071
2016-03-10 22:53:00bfsetpriority: bug -> wishlist
messages: + msg19072