@library.filter
def urlencode(txt):
    if isinstance(txt, unicode):
        txt = txt.encode('utf-8')
    return urllib.quote_plus(txt)
The race of this unit. One of Terran, Protoss, Zerg, Neutral, or None
dataset/ETHPy150Open mozilla/pontoon/pontoon/base/templatetags/helpers.py/urlencode--crossover with--dataset/ETHPy150Open GraylinKim/sc2reader/sc2reader/data/__init__.py/Unit.race