Unicode support for non-unicode locales
Matt Mackall
mpm at selenic.com
Mon Oct 8 14:45:41 UTC 2007
On Mon, Oct 08, 2007 at 02:13:29PM +0400, tailgunner at smtp.ru wrote:
>
>
> Currently Mercurial lack an ability to convert file names to
> Unicode when working
>
> in non-Unicode locales. For example, file names which were added
> and committed
>
> in cp-1251 (russian Windows codepage) can't be correctly checked
> out in koi8-r
>
> (russian Unix coding) or UTF-8 - they are checked out as cp-1251,
> which is wrong.
>
> This patch attempts to fix this by keeping file names in UTF-8
> on-disk, and converting
>
> them to local encoding for hg's internal use.
Does it make the corresponding changes to your project's Makefile,
etc., as well? What happens if someone does a checkout in an
ASCII/latin-1 locale?
Filenames, just like their contents, are the users' data. Our mandate
is to preserve that data exactly.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list