A proposal on solve encoding problem on Windows.
Andrey
py4fun at gmail.com
Fri Oct 21 08:59:31 UTC 2011
The most important goal for me was actually this:
2 (3?). use utf8 as the default encoding for new commits.
Now I see (thanks, Matt), that it may introduce serious regression problems.
I need some time to think about a possible solution.
> if all files in manifest are valid UTF-8:
> # repo is already in UTF-8 mode or is pure ASCII
> mode = utf8transcoding
>
This check is just a guess. We cannot rely on it. In general, it is not
possible to detect the encoding from the sequence of bytes.
I am afraid, the change should only be implemented for brand new
repositories.
P.S. I would prefer if someone (with a broad view) can maintain a
wiki/document/specification for this proposal. Otherwise, it is rather
difficult to follow the discussion...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111021/7900b034/attachment-0002.html>
More information about the Mercurial
mailing list