Re: url escape problem in some encoding - CheckUrl
Bjoern Hoehrmann <[email protected]> Wed, 04 Jan 2006 12:53:09 +0100
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
* Sun Yi-Ming wrote: > i have many pages who have no escaped url with GB2312(like BIG5), the >tidy get all the url escaped in a bad format(cannot accessed), so i >give CheckUrl a dirty hack to transfer UTF-8 code to original code >before escape it, then get urls could be reached. so who will tell me a >elegant way or solution to handle this. >my code is like this Finish the code to adopt iconv to provide real decoding for these encodings. -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click