hi,
I just removed the unicode() method from my codes.
As John Machin said, I had an wrong understanding of unicode and ascii.
Paul Watson wrote:
> JTree wrote:
> > Thanks everyone!
> >
> > Sorry for my ambiguous question.
> > I changed the codes and now it works fine.
Thanks everyone!
Sorry for my ambiguous question.
I changed the codes and now it works fine.
JTree wrote:
> Hi,all
> I encountered a problem when using unicode() function to fetch a
> webpage, I don't know why this happenned.
> My codes and error messages are:
>
es it have some problems with asian
encoding support?
Thanks!
On Dec 31 2006, 9:30 pm, "Felipe Almeida Lessa"
<[EMAIL PROTECTED]> wrote:
> On 31 Dec 2006 05:20:10 -0800, JTree <[EMAIL PROTECTED]> wrote:
>
> > def funUrlFetch(url):
> > lambda url:urllib
Hi,all
I encountered a problem when using unicode() function to fetch a
webpage, I don't know why this happenned.
My codes and error messages are:
Code:
#!/usr/bin/python
#Filename: test.py
#Modified: 2006-12-31
import cPickle as p
import urllib
import htmllib
import re
import sys
def