Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def uni_docomo2softbank(s):
    return uni_emoji_docomo_to_softbank.has_key(s) and uni_emoji_docomo_to_softbank[s] or u''
        


src/d/j/django-bpmobile-0.1/bpmobile/middleware.py   django-bpmobile(Download)
                    encoding = 'Shift_JIS'
                elif agent.is_softbank():
                    c = utils.RE_UNI_EMOJI_DOCOMO.sub(lambda m:utils.uni_docomo2softbank(m.group()), c)
                    response.content = c.encode('utf8','replace')
            response['content-type'] = 'application/xhtml+xml; charset=%s' % encoding