[PATCH] i18n: mark a path component as unicode

Yuya Nishihara yuya at tcha.org
Fri Oct 7 09:55:17 EDT 2016


On Fri, 7 Oct 2016 15:20:32 +0200, Augie Fackler wrote:
> 
> > On Oct 7, 2016, at 15:18, Pulkit Goyal <7895pulkit at gmail.com> wrote:
> > 
> > Not sure about this one, I tried it earlier, data path are bytes.
> > https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-August/086728.html
> 
> Hm. It's always coming from __file__ or similar, which is Unicode on Python 3? I'm confused now. Yuya?

It's bytes on Python 2. We can't concatenate bytes and unicode if bytes
contains non-ascii chars.


More information about the Mercurial-devel mailing list