Skip to content
Snippets Groups Projects
Commit b256f4ae authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Convert LATIN-1 to ISO-8859-1 charset on export to NNTP

From: Carlos Navarro (2:341/234.1)

Messages that use CHRS: LATIN-1 are not displayed properly in newsreaders
(Synchronet's NNTP server renders them with the default charset=IBM437).

This fix may work: edit exec/load/newsutil.js, at line 77 insert

        case "LATIN-1 2":
                charset = "ISO-8859-1";
                break;

If you want to test: ßΘφ≤· ± (accented aeiou, n with tilde)
parent 32475b52
No related branches found
No related tags found
No related merge requests found
Pipeline #5069 passed
......@@ -74,6 +74,9 @@ function write_news_header(hdr,writeln)
case "CP866 2":
charset = "KOI8-R";
break;
case "LATIN-1 2":
charset = "ISO-8859-1";
break;
default:
charset = "IBM437";
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment