Unicode Windows API, Was: Concerns about using Python's ctypes library on Windows

박경국 gegogi at thingsoft.com
Sat Jul 30 21:07:53 CDT 2011


As a mercurial user on Windows platform,
fixutf8 + thg has not been a very good combination for me.
Because of a thg nature that loads extensions all together
for every repository during start-up, I cannot have one
and only one repository stored in UTF-8 among other repositories.

If I load fixutf8 for one repository, it breaks other repositories'
committing or updating if they contains multi-byte file names.
Repository-wide hgrc is useless in this case.

And the reason I have a repo in UTF-8 on Windows is
that it was converted from a subversion repo via 'hg convert'.
'hg convert' transcodes log messages based on HGENCODING
but does not apply for the file names.

Kyung-Kook


On Sun, Jul 31, 2011 at 07:33, Matt Mackall <mpm at selenic.com> wrote:

> On Sat, 2011-07-30 at 21:03 +0200, Mads Kiilerich wrote:
> > * The fixutf8 extension already implement this UTF-8 approach and seems
> > to have some happy users. It could perhaps be promoted to a standard
> > extension or it could be used as inspiration for a new and better and
> > more complete and maintainable implementation.
>
> I've always said something like this was the way forward (since long
> before fixutf8 appeared).
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110731/d84ea959/attachment.html>


More information about the Mercurial-devel mailing list