Mercurial > hg
diff tests/test-minirst.py.out @ 15393:87bb6b7644f6 stable
minirst: use unicode string as intermediate form for replacement
# this change redones part of 521c8e0c93bf, backed out by 0ad0ebe67815
Some character encodings use ASCII characters other than
control/alphabet/digit as a part of multi-bytes characters, so direct
replacing with such characters on strings in local encoding causes
invalid byte sequences.
[mpm: test changed to simple doctest]
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 31 Oct 2011 21:06:18 +0900 |
parents | 70d7293c41d6 |
children | ee8f5e4ce7b8 |