German umlauts in file names

Lars Kuhtz lars at exactcode.de
Tue Jun 17 08:05:51 CDT 2008


On Tuesday 17 June 2008 14:44, Jens.Wulf at sew-eurodrive.de wrote:
> > is there really no one out there who ever came across German
> > umlauts in file names and commit comments?
>
> I have umlauts in commit comments and they are displayed correctly in hg vi
> and hgtk log/tortoisehg, but not on the command line. However, I didn't do
> anything except standard hg installs (recently it has been tortoisehg, but
> I did use the other installer, too). So I don't know how to help you...

Commit messages with umlauts do not work here as well:

transaction abort!
rollback completed
abort: decoding near 'ätsch': 'ascii' codec can't decode byte 0xe4 in position 
0: ordinal not in range(128)!

> I don't think I have umlauts in file names.

I just did a quick test and it seems that filenames with umlauts work 
correctly here:

lars at paul:~/tmp/test$ hg init
lars at paul:~/tmp/test$ setxkbmap de
lars at paul:~/tmp/test$ touch äöü
lars at paul:~/tmp/test$ hg add äöü
lars at paul:~/tmp/test$ hg ci -m "..."
lars at paul:~/tmp/test$ hg view
lars at paul:~/tmp/test$ hg rename äöü ßapü
lars at paul:~/tmp/test$ hg ci -m "aetsch"
lars at paul:~/tmp/test$ hg log -v
changeset:   1:c40cb59beb1b
tag:         tip
user:        Lars
date:        Tue Jun 17 14:40:40 2008 +0200
files:       ßapü äöü
description:
aetsch


changeset:   0:0355a248bdf5
user:        Lars
date:        Tue Jun 17 14:39:57 2008 +0200
files:       äöü
description:
...

Regards,
Lars



More information about the Mercurial mailing list