Monday, April 29, 2013

Re: Upload csv with utf-8

in my code was trying to do this
      rep.GenreType line = ["IdGenre."] decode ("utf-8")

but it gives me the following error:
'utf8' codec can not decode byte 0xE9 in position 3: invalid continuation byte

Unicode error hint

The string That Could not be encoded / decoded was: Com�dia

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment