Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f = codecs.open(newFilePathAndName(path,filename,language),encoding='raw_unicode_escape', mode='w')
- ...
- f.write(outputString)
- >>> print u'u00e9'.encode('unicode_escape')
- xe9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement