Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8fbf12d98fd1e913c280799bebeccc98afa79a5d
Ticket: 1733261fffffffffffffffffffffffffffffffff
http::Event encoding (RSS/UTF-8)
User & Date: rniva on 2007-06-08 07:56:46
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This snippet of code from http::Event assumes that all non-text content is binary:
    
    if {$state(-binary) || ![string match -nocase text* $state(type)]
       || [string match *gzip* $state(coding)]
       || [string match *compress* $state(coding)]} {
    # Turn off conversions for non-text data
    fconfigure $s -translation binary
    
    We are using the http package to download RSS feeds in UTF-8 encoding.
    Mimetype: application/rss+xml
    
    And the client is running system encoding UTF-8.
    
    This causes the RSS feed to have double UTF-8 encoded strings.
    
    We did a temporary fix to our client while we wait for a bugfix:
    
    if {$state(-binary) || (![string match -nocase text* $state(type)] && ![string match -nocase *xml* $state(type)])
    
    
    
  4. foundin changed to: "obsolete: 8.4.15"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "rniva"
  10. subsystem changed to: "29. http Package"
  11. title changed to: "http::Event encoding (RSS/UTF-8)"
  12. type changed to: "Bug"