rask  Check-in [99ed5b3a4b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:99ed5b3a4b68bc30fb65d0b04665e8af479580c9
Date: 2017-04-28 17:23:16
User: umgeher
Comment:no encode in utf8
Tags And Properties
  • branch=rask/master inherited from [e712659d71]
  • sym-rask/master inherited from [e712659d71]
Context
2017-04-28
20:18
[e778c46537] merge from v/0.1.4 (user: umgeher, tags: rask/master)
20:14
[920a942f51] Create new branch named "hf/try-encode" (user: fpaolozze, tags: hf/try-encode)
17:23
[bc20fe91bf] Create new branch named "rask/v/0.1.4" (user: umgeher, tags: rask/v/0.1.4)
17:23
[99ed5b3a4b] no encode in utf8 (user: umgeher, tags: rask/master)
2017-03-19
04:42
[832274bde4] v/0.1.3 (user: umgeher, tags: rask/master)
Changes

Changes to rask/rask/parser/utcode/__init__.py.

306
307
308
309
310
311
312
313
314
315
316
        return True
    
    def encoder_string(self,_,f):
        f.set_result('s%s:%s' % (len(_),_))
        return True
    
    def encoder_unicode(self,_,f):
        b = b64encode(_.encode('utf-8'))
        f.set_result('u%s:%s' % (len(b),b))
        return True








|



306
307
308
309
310
311
312
313
314
315
316
        return True
    
    def encoder_string(self,_,f):
        f.set_result('s%s:%s' % (len(_),_))
        return True
    
    def encoder_unicode(self,_,f):
        b = b64encode(_)
        f.set_result('u%s:%s' % (len(b),b))
        return True