Skip to content
Tcl Source Code History Of Ticket 2998307
Login

History Of Ticket 2998307

Artifacts Associated With Ticket 2998307

  1. Ticket change [0fa9b71b07] (rid 94828) by samaelszafran on 2010-05-07 19:14:15:

    1. assignee initialized to: "patthoyts"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      $ tclsh
      % pa re http
      2.7.5
      % namespace children
      ::http ::oo ::tcl
      % http::config
      -accept */* -proxyfilter http::ProxyRequired -proxyhost {} -proxyport {} -urlencoding utf-8 -useragent {Tcl http client package 2.7.5}
      % namespace children
      ::http ::oo ::tcl
      % set http::defaultCharset utf-8
      utf-8
      % set token [http::geturl http://bash.org.pl/rss]
      ::http::1
      % upvar 0 $token state
      % set state(charset)
      utf-8
      
      This url is a simple RSS feed using the utf-8 charset, but not passing it in the Content-Type header.
      It tells me that it actually is UTF, but it isn't. After that I try to display it using http::data, but it dispalys incorrectly - in this case, polish UTF chars look like they're readen like ISO.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "samaelszafran"
    10. subsystem initialized to: "29. http Package"
    11. title initialized to:
      Can't display UTF when charset is not paseed bythe server
      
    12. type initialized to: "Bug"
  2. Ticket change [773726b3bc] (rid 89742) by samaelszafran on 2010-05-08 02:18:24:

    1. icomment:
      I just forgot to mention - I've got TCLLib compiled from FreeBSD 7.2-STABLE Ports.
      
      
    2. login: "samaelszafran"
    3. mimetype: "text/plain"
    4. username: "samaelszafran"
  3. Ticket change [40757fb020] (rid 136356) by anonymous on 2014-01-03 14:59:06:

    1. closer changed to: "nobody"
    2. comment changed to:
      $ tclsh
      % pa re http
      2.7.5
      % namespace children
      ::http ::oo ::tcl
      % http::config
      -accept */* -proxyfilter http::ProxyRequired -proxyhost {} -proxyport {} -urlencoding utf-8 -useragent {Tcl http client package 2.7.5}
      % namespace children
      ::http ::oo ::tcl
      % set http::defaultCharset utf-8
      utf-8
      % set token [http::geturl http://bash.org.pl/rss]
      ::http::1
      % upvar 0 $token state
      % set state(charset)
      utf-8
      
      This url is a simple RSS feed using the utf-8 charset, but not passing it in the Content-Type header.
      It tells me that it actually is UTF, but it isn't. After that I try to display it using http::data, but it dispalys incorrectly - in this case, polish UTF chars look like they're readen like ISO.
      
    3. icomment:
      Still seems to apply in the current version
      
      Most importantly, http seems to completely ignore -binary true for charset mangling. I always get mangled UTF-8 out of TclHTTP, while the same file downloads correctly using TclCurl and wget from the command line. Please fix.
      
    4. login: "anonymous"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"
  4. Ticket change [8d8911a06c] (rid 136373) by dkf on 2014-01-05 16:04:38:

    1. login: "dkf"
    2. mimetype: "text/plain"
    3. title changed to:
      Can't display UTF when charset is not passed by the server
      
  5. Ticket change [87306e4fec] (rid 136374) by dkf on 2014-01-05 16:14:22:

    1. icomment:
      If they're read like ISO8859-1 but you know they're “really” UTF-8, <code>encoding convertfrom utf-8</code> will do the conversion.
      
    2. login: "dkf"
    3. mimetype: "text/html"
    4. username: "dkf"
  6. Ticket change [de91ea9fbb] (rid 204058) by kjnash on 2022-09-10 12:08:55:

    1. icomment:
      Fixed in commit [d150b47456], branch http-bugfixes-2022H2.
      
      New http::geturl option -guesstype allows detection of XML files and their encoding when the server supplies no content-type.  By default this option is off.
      
    2. login: "kjnash"
    3. mimetype: "text/x-fossil-plain"
  7. Ticket change [ee736e1a3d] (rid 204062) by kjnash on 2022-09-10 12:18:45:

    1. closedate changed to: "2459833.01303196"
    2. closer changed to: "kjnash"
    3. login: "kjnash"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"