Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 55660f7b5e4d5c53f917cf6bff1c4376be059e8f
Ticket: 839289ffffffffffffffffffffffffffffffffff
http ignores charset in meta tags
User & Date: vincentdarley on 2003-11-10 16:00:39
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. 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: ö
    
    
    
  4. foundin changed to: "obsolete: 8.4.5"
  5. priority changed to: "7 High"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vincentdarley"
  9. subsystem changed to: "29. http Package"
  10. title changed to: "http ignores charset in meta tags"
  11. type changed to: "Bug"