review/rutil.py @ 374353580a16

web: do not require flask-lesscss to run in debug mode
author Steve Losh <steve@dwaiter.com>
date Tue, 13 Jul 2010 16:41:19 -0400
parents 1b9066798f87
children 96afc843f1a7
from mercurial import encoding

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

def fromlocal(s):
    return encoding.fromlocal(s).decode('UTF-8')