review/rutil.py @ a529034a32c1

web: switch to less.js
author Steve Losh <steve@stevelosh.com>
date Thu, 27 Jan 2011 18:05:01 -0500
parents 96afc843f1a7
children (none)
from mercurial import encoding

def tolocal(s):
    return encoding.tolocal(s.encode('UTF-8'))

def fromlocal(s):
    return s.decode(encoding.encoding, 'replace')