[issue1080] Problem with UTF8 filenames on OSX

Ralf Müller mercurial-bugs at selenic.com
Mon Apr 7 12:01:09 CDT 2008


New submission from Ralf Müller <ralf at bj-ig.de>:

when creating filenames on OSX mercurial 1.0 behaves inconsistent:

The repository file:
.hg/store/data/~c3~a4.i

(which represents a german "umlaut a" as filename)

gives after "hg update" the following byte sequence:
> ls | hexdump -C
00000000  61 cc 88 0a    |a?..|

which is not totally wrong as this is another valid UTF-8 representation
of the german "umlaut a" - but at least for mercurial it is misleading:
> hg stat
? ä

There are two valid behaviors for mercurial:
1. make sure it creates the right sequence of bytes
or
2. accept the other valid UTF-8 notation it creates
 
Regards

----------
messages: 5838
nosy: ralf1070
priority: bug
status: unread
title: Problem with UTF8 filenames on OSX

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1080>
____________________________________________________



More information about the Mercurial-devel mailing list