Closed ischurov closed 8 years ago
Fixes minor encoding/utf8 issue: if there is quiz inside admon, FORMAT == 'sphinx' and encoding is 'utf-8' (and probably any other non-ascii one), like print 'Quiz:', q fails without q.encode(encoding).
print 'Quiz:', q
q.encode(encoding)
Many thanks!!
Fixes minor encoding/utf8 issue: if there is quiz inside admon, FORMAT == 'sphinx' and encoding is 'utf-8' (and probably any other non-ascii one), like
print 'Quiz:', q
fails withoutq.encode(encoding)
.