Overview
| Artifact ID: | 55660f7b5e4d5c53f917cf6bff1c4376be059e8f |
|---|---|
| Ticket: | 839289ffffffffffffffffffffffffffffffffff
http ignores charset in meta tags |
| User & Date: | vincentdarley on 2003-11-10 16:00:39 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Many web pages (incl. Tcl'ers Wiki) place charset information in metatags, like this: <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"></meta> <title>Graffiti</title> But the http package ignores these and assumes the text is in iso8859-1. This means that non-ascii characters are mangled with something as simple as: set token [http::geturl http://alphatcl.sourceforge.net/wikit/10] set contents [http::data $token] '$contents' should now contain a spanish n~ and an o-umlaut. It actually contains garbage for both instead: spanish ene: ñ</p><p>o-umlaut: ö
- foundin changed to: "obsolete: 8.4.5"
- priority changed to: "7 High"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vincentdarley"
- subsystem changed to: "29. http Package"
- title changed to: "http ignores charset in meta tags"
- type changed to: "Bug"