-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This is still a work-in-progress but I’m already using it to read some mailing lists (UTF-8; some in HTML) and some fr.* groups (mostly UTF-8, some ISO-8859-15, a little Windows-1252 – very little if any ISO-8859-1 that I can see).
This version supports only UTF-8 output, but supports posts in UTF-8, ISO-8859-1, ISO-8859-15 and Windows-1252.¹ The original “character set” conversions (TeX, ISO-8859-1-to-ASCII) assume most displays are ASCII (or DBCS ², for example, or some other character set that isn’t Latin1); they have been disabled in the process of retrofitting it with UTF-8 support.
In theory, on a modern system such as Linux it’s not difficult to make it support other character sets once it supports UTF-8; but trn should probably be made to work on a system with no iconv. For context, it doesn’t even use curses, but bare termcap/terminfo ³ (and calls it by a name I’ve never heard of); the code is still written K&R style; it does not even believe in enums.
Note: I did this because I found reading mailing lists way too painful. I set up INN and tried three different newsreaders just to figure out a way to read all those mailing lists in a less painful way. When I got trn up I didn’t even know AIOE exists, and I found trn didn’t quite work because all those lists were in UTF-8.
![](/acli/trn/wiki/images/Screenshot_2020-08-06_23-15-47.png)
![](/acli/trn/wiki/images/Screenshot_2020-08-11_20-45-34.png)
![](/acli/trn/wiki/images/Screenshot_2020-08-06_23-21-37.png)
![](/acli/trn/wiki/images/Screenshot_2020-08-06_23-22-09.png)
- That is, everything needed to read fr.*. When I finally figure out if Chinese/Japanese groups still exist I might find more urgency to support other character sets.
- The likes of Big5, EUC-JP, Shift_JIS, etc.
- We could argue that bare termcap/terminfo is more accessible (in the sense that it plays nicer with accessibility software), though.