fixing utf8 comments in svm through try/except and six.b