Mercurial > hg
comparison contrib/python-hook-examples.py @ 11464:521c8e0c93bf stable
minirst: use unicode string as intermediate form for replacement
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.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 30 Jun 2010 12:44:58 +0900 |
parents | 62f11ef0df5b |
children | a8d13ee0ce68 |
comparison
equal
deleted
inserted
replaced
11463:f0ea93557133 | 11464:521c8e0c93bf |
---|