[darcs-users] Display correctly utf-8 in commit info

xancorreu xancorreu at gmail.com
Wed May 8 18:14:33 UTC 2013


Hi,

I use utf-8 intensively: in console and in files it's my default encoding.
With export DARCS_DONT_ESCAPE_EXTRA="áàéèíïóúüñÁÀÉÈÍÏÓÒÚÚÑ", export 
DARCS_DONT_ESCAPE_ISPRINT=1
or export DARCS_DONT_ESCAPE_8BIT=1 there is no problem for displaying 
files and diff changes when I run "darcs log --verbose", but the commit 
messages *don't* appear in UTF-8:

$ darcs log --verbose
Sun May 5 22:10:18 CEST 2013 xan at localhost
* O no <U+00E9>s aix<U+00ED>
hunk ./holamón.txt 1
-Hola què tal
+Hola què tal. O no és així

Sun May 5 22:05:19 CEST 2013 xan at localhost
* Hola m<U+00F3>n
addfile ./holamón.txt
hunk ./holamón.txt 1
+Hola què tal


How can I do for displaying the commit message in UTF-8? With 8BIT=1, I get:

$ darcs log --verbose
Sun May 5 22:10:18 CEST 2013 xan at localhost
* O no �s aix
hunk ./holamón.txt 1
-Hola què tal
+Hola què tal. O no és així

Sun May 5 22:05:19 CEST 2013 xan at localhost
* Hola m�n
addfile ./holamón.txt
hunk ./holamón.txt 1
+Hola què tal

My darcs version is the last, 2.8.4

Thanks in advance,
Xan.


More information about the darcs-users mailing list