Re: [Tutor] encode question!

2005-09-27 Thread 铁石
tutor-request Thanks Ziyad.You answer is exactly the realson it is! I am missdirect by the coding of the html. the %25 in the url is the '%' char in file name. after urllib.unquote('xvg_h%25202.jpg') 'xvg_h%202.jpg' That's the real filename I want! thanks too, Danny Yoo! >This has n

Re: [Tutor] encode question!

2005-09-27 Thread ZIYAD A. M. AL-BATLY
On Tue, 2005-09-27 at 14:01 +0800, 铁石 wrote: > I am trying to write a stript that extract jpg files > from a html I had downloaded.I encounter a problem with > a Big5 charset html file.Big5 used in Hongkong ans Taiwan. > In this html file there's a jpg names "xvg_h%202.jpg" > in vi ,the

Re: [Tutor] encode question!

2005-09-26 Thread Danny Yoo
On Tue, 27 Sep 2005, [GB2312] ��ʯ wrote: > I am trying to write a stript that extract jpg files > from a html I had downloaded.I encounter a problem with > a Big5 charset html file.Big5 used in Hongkong ans Taiwan. > In this html file there's a jpg names "xvg_h%202.jpg" in vi ,the tag

[Tutor] encode question!

2005-09-26 Thread 铁石
I am trying to write a stript that extract jpg files from a html I had downloaded.I encounter a problem with a Big5 charset html file.Big5 used in Hongkong ans Taiwan. In this html file there's a jpg names "xvg_h%202.jpg" in vi ,the tag of the image is