Mercurial > hg
diff tests/test-extension.t @ 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 | 96bfd2875213 |
children | 6fb1d3c936d2 |