Overview
| Artifact ID: | 8fbf12d98fd1e913c280799bebeccc98afa79a5d |
|---|---|
| Ticket: | 1733261fffffffffffffffffffffffffffffffff
http::Event encoding (RSS/UTF-8) |
| User & Date: | rniva on 2007-06-08 07:56:46 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- 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)]) - foundin changed to: "obsolete: 8.4.15"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "rniva"
- subsystem changed to: "29. http Package"
- title changed to: "http::Event encoding (RSS/UTF-8)"
- type changed to: "Bug"