weird filenames on windows
Matt Mackall
mpm at selenic.com
Wed Jan 16 01:45:39 UTC 2008
On Wed, 2008-01-16 at 01:43 +0000, TK Soh wrote:
> On Jan 15, 2008 6:09 PM, Matt Mackall <mpm at selenic.com> wrote:
> >
> > On Mon, 2008-01-14 at 21:20 -0800, j w wrote:
> > > I have some filenames with special characters in them, like:
> > > "Bilgisayar ve İletişim" for example.
> > >
> > > Now, I don't actually want to put this under revision control, but it
> > > happens to reside in a directory that I *do* want under hg.
> > > Currently, if I try to add that directory, it cuts out with:
> > > abort: The system cannot find the file specified: mydir\Bilgisayar
> > > ve İletişim
> >
> > That's quite mysterious. We got the filename from the operating system
> > and then handed it back exactly as we received it. What encoding are you
> > using? Can you tell us what the exact bytestring of that filename is?
> >
> > Perhaps this is an interaction between our osutil extension which calls
> > the C library directly, and Python libraries doing some braindamaged
> > conversion internally. Tell us about your hg and python installs.
> >
> > You're the first to run into this and you're not the only person who's
> > tried adding non-ASCII filenames on Windows. In fact, we recently added
> > some support to some of the trickier Asian character sets.
>
> May I know which changeset has the fix on this? I believe I earlier
> raise the similar issue on my filenames with Chinese characters.
http://www.selenic.com/hg/rev/02884e56c217
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list