Bug #3942
XMLTV exports invalid chars
100%
Description
In my case, I'm seeing the ^Z (Ctrl-Z) char being exported among the text.
History
Updated by Jaroslav Kysela over 7 years ago
Could you show an example output? Please, attach it as a file. Or tell us your satellite position and service which causes this (if you use the satellite broadcast).
Updated by Luis Alves over 7 years ago
Hispasat 30ºW (providers: MEO, NOS)
File here:
http://213.58.180.187/xmltv.gz
(search for ^Z char)
Regards,
Luis
Updated by Luis Alves over 7 years ago
By the way, my quick fix was:
--- a/src/htsbuf.c
++ b/src/htsbuf.c@ -363,6 +363,7
@ htsbuf_append_and_escape_xml(htsbuf_queue_t *hq, const char *s)
case '&': esc = "&"; break;
case '\'': esc = "'"; break;
case '"': esc = """; break;
case '^Z': esc = ""; break;
default: esc = NULL; break;
}
Updated by Jaroslav Kysela over 7 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|3de32442508aca18d7d53c6badbaa9c3bfc77242.
Updated by Jaroslav Kysela over 7 years ago
- % Done changed from 100 to 0
Thanks, Fixed in v4.1-2189-g3de3244 . But it seems also like an issue in the EPG data import side.