Mercurial > audlegacy
view po/boldquot.sed @ 4606:6b76f8589f5d
Added a temporary function str_assert_utf8() for finding points in code
where string data should be UTF-8 but might not be. In case of valid UTF-8
a copy of string is returned. If string is NOT valid UTF-8, a call backtrace
is printed and str_to_utf() is called instead.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Jun 2008 23:17:47 +0300 |
parents | cb178e5ad177 |
children |
line wrap: on
line source
s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“[1m/g s/”/[0m”/g s/‘/‘[1m/g s/’/[0m’/g