Re: 8bits characters in From headers
Urs Janßen <[email protected]>
| Newsgroups | gmane.network.tin.user |
|---|---|
| Organization | $DEAD |
| Message-ID | <[email protected]> |
In <[email protected]>, Matt Anton wrote: > It seems that tin 1.7.5 has a weird behaviour while From headers have > 8bits characters and "Cache NNTP overview files locally" feature is used. > If the cache in $TIN_HOMEDIR/.news-<nntp_server> is empty, 8bits > characters are correctly shown in From headers, this is a bug > but if it isn't then 8bits > characters are replaced by a question mark. and this is a feature: raw 8bit chars are not allowed in news-headers and as they can cause trouble (e.g. the data contains ESC-seq and is displayed via news_headers_to_display [1]) they are replaced; looks like I missed the code when the 'data' is not comming from an overview record. [1] if anyone is going to 'fix' the news_headers_to_display-code in a way that raw 8bit chars can't confuse the terminal anymore we could remove the conversion in read_overview() as the rest of the display code takes care about printable chars itself. urs -- Jef Poskanzer: "When people aren't stupid Usenet is even more useful. Too bad this happens so rarely."