Mercurial > hg
comparison tests/get-with-headers.py @ 28211:446465888119
hgweb: add option to convert encoding of graphdata()
Because future patches will change "|json" filter to handle input bytes
transparently, i.e. use UTF-8b encoding, "{jsdata}" must keep data in UTF-8
bytes, whereas "{nodes}" are text.
This patch inserts encodestr() where localstr is likely to survive.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 04 Jan 2016 23:05:09 +0900 |
parents | 8e86679d8acd |
children | f4b31fcd5e72 |
comparison
equal
deleted
inserted
replaced
28210:964ad57eff30 | 28211:446465888119 |
---|