[PATCH 0 of 1 stable] Re: [PATCH stable] templatefilters: make json filter handle multibyte characters correctly

Yuya Nishihara yuya at tcha.org
Mon Aug 9 16:39:14 UTC 2010


Patrick Mézard wrote:
> Le 08/08/10 19:52, Yuya Nishihara a écrit :
> > Patrick Mézard wrote:
> >> Le 08/08/10 18:54, Yuya Nishihara a écrit :
> >>> Patrick Mézard wrote:
> >>>> Le 07/08/10 09:36, Yuya Nishihara a écrit :
> >>>>> # HG changeset patch
> >>>>> # User Yuya Nishihara <yuya at tcha.org>
> >>>>> # Date 1281166036 -32400
> >>>>> # Branch stable
> >>>>> # Node ID 0e36aafcca8fedbf60e05b985d5f6426045c8e28
> >>>>> # Parent  36e25f25dec11e68fc3240326999c02b3879ab10
> >>>>> templatefilters: make json filter handle multibyte characters correctly
> 
> In crew stable with the unicode() change:
> http://hg.intevation.org/mercurial/crew-stable/rev/aff419e260f9

Thank you, but it shouldn't change the output encoding.
JSON-encoded data are passed to web browser with hgweb's HTML output,
which is in locale encoding.

I uploaded the patch in case the emailed one is broken due to encoding issue:
http://bitbucket.org/yuja/mercurial-mq/src/5a27c3b1071f/hgweb-graph-no-enc-conv.diff

Yuya,


More information about the Mercurial-devel mailing list