shithub: libtags

Download patch

ref: 7e151f2b35585bd69900da623a12c80f3e20a6cf
parent: 7f72b87d6fb6e89c70bf8b280b57407dbe0d48fb
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Mar 5 16:32:34 EST 2024

mod: seems like it's 437, not 8859, after all

--- a/mod.c
+++ b/mod.c
@@ -45,7 +45,7 @@
 		return -1;
 	if(ctx->read(ctx, d, 20) != 20)
 		return -1;
-	if(iso88591toutf8(o, sizeof(o), d, 20) > 0)
+	if(cp437toutf8(o, sizeof(o), d, 20) > 0)
 		txtcb(ctx, Ttitle, "", o);
 
 	return 0;