Overview
| Artifact ID: | 0fa9b71b072f375454c02c6cba4017c4e4f6adde |
|---|---|
| Ticket: | 2998307fffffffffffffffffffffffffffffffff
Can't display UTF when charset is not passed by the server |
| User & Date: | samaelszafran on 2010-05-07 19:14:15 |
Changes
- assignee changed to: "patthoyts"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "samaelszafran"
- subsystem changed to: "29. http Package"
- title changed to:
Can't display UTF when charset is not paseed bythe server
- type changed to: "Bug"