Mercurial > hg > mercurial-crew
view hgext/__init__.py @ 28536:ffa599f3f503
encoding: escape U+007F (DEL) character in JSON
RFC 7159 does not state that U+007F must be escaped, but it is widely
considered a control character. As '\x7f' is invisible on a terminal, and
Python's json.dumps() escapes '\x7f', let's do the same.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 16 Jan 2016 18:30:01 +0900 |
parents | 7d439981bec4 |
children |