Try to write on top of this file: # -*- coding: utf-8 -*-
Maybe help. 2013/11/11 Chi Tak Lam <[email protected]> > Is there anyone can help? > > I think i should do a str.replace(old, new)? > but i not sure what i should i set for 'old' and 'new' argument... > > something like this? > "my text".replace(char 30262, '???') > > > On Saturday, November 9, 2013 11:44:53 PM UTC+8, Chi Tak Lam wrote: >> >> Hi, >> >> I have a django-celery task to retrieve data from a third party service >> and store into my database. >> But I found an error in my log file, which is >> None: Invalid control character at: line 1134 column 14 (char 30262) >> >> Not sure what is char 30262, maybe this? >> http://www.fileformat.info/info/unicode/char/30262/index.htm >> >> My question is, how can i solve this problem without skip this records? >> >> Thanks. >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/cc611f7e-ea7a-4ac6-827e-da1bef990387%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH%2Bpf9mDaLDDbWBV9kH0H7AY-nhe3DnQOk%2BK-ah9ZOTyhvKCcA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

