Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

force utf-8 encoding python

import codecs # Python standard library
codecs.encode("A strange character","utf-8")
# this would give you the utf-8 encoded bytes
 
PREVIOUS NEXT
Tagged: #force #encoding #python
ADD COMMENT
Topic
Name
9+1 =