I end up fix the problem by just passing strict=false to json.loads()...
json.loads(response.read(), strict=False).
The error didn't occur anymore, seem like working fine.
Thanks
On Saturday, November 9, 2013 11:44:53 PM UTC+8, Chi Tak Lam wrote:
>
> Hi,
>
> I have a django-celery task to retr
I use ignore in unicode(...) to solve annoying things like this
On Nov 11, 2013 10:48 AM, "Timothy W. Cook" wrote:
> The replace was my thought as well. I would just replace it with an
> empty string. Especially since it is a control character and apprently
> doesn't carry human readable informa
The replace was my thought as well. I would just replace it with an
empty string. Especially since it is a control character and apprently
doesn't carry human readable information.
?
On Mon, Nov 11, 2013 at 11:38 AM, Chi Tak Lam wrote:
> Is there anyone can help?
>
> I think i should do a
Try to write on top of this file:
# -*- coding: utf-8 -*-
Maybe help.
2013/11/11 Chi Tak Lam
> 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 3026
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-cele
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/
6 matches
Mail list logo