Edgewall Software

Changes between Version 1 and Version 2 of Ticket #12453, comment 3


Ignore:
Timestamp:
Apr 12, 2016, 8:27:01 PM (8 years ago)
Author:
Christian Boos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12453, comment 3

    v1 v2  
    1 No, branch name etc. is metadata, and therefore Mercurial always use UTF-8 for that (cf. [https://www.mercurial-scm.org/wiki/EncodingStrategy#UTF-8_strings EncodingStrategy#UTF-8_strings]).
     1No, branch name etc. is metadata, and therefore Mercurial always uses UTF-8 for that (cf. [https://www.mercurial-scm.org/wiki/EncodingStrategy#UTF-8_strings EncodingStrategy#UTF-8_strings])
     2+ what we did in #7217 to ensure that it stays in UTF-8 on the hg side.
     3
     4I'm rather thinking of using `to_unicode` for the metadata, that would simplify things.
     5
     6If we still want to support legacy encodings for the metadata, then we probably need to split `[hg] encoding` into several other options, as this tries to do too many things (also considering the [https://www.mercurial-scm.org/wiki/EncodingStrategy#Mercurial_.3C.3D_2.0_strategy: current mess w.r.t. filenames]).