diff options
author | crvi <crvisqr@gmail.com> | 2021-03-18 18:50:02 +0530 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-06-24 16:18:47 +0200 |
commit | e85f88f82cbec9c6e503ebdcc6cb8549883a3cf9 (patch) | |
tree | aebd44a076a0bb6fe875661b1f76fd4c3ec8cf99 | |
parent | afb8e05aaba4b1e56e28af2c09c6448abb8296c8 (diff) | |
download | totem-pl-parser-e85f88f82cbec9c6e503ebdcc6cb8549883a3cf9.tar.gz |
plparser: Print guessed encoding of xml document
-rw-r--r-- | plparse/totem-pl-parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c index 0f2c6d2..534d268 100644 --- a/plparse/totem-pl-parser.c +++ b/plparse/totem-pl-parser.c @@ -1914,6 +1914,8 @@ totem_pl_parser_parse_xml_relaxed (char *contents, encoding = guess_text_encoding (contents, size); if (!encoding) return NULL; + + g_debug ("Guessed text encoding of XML data as '%s'", encoding); /* fall-through with the detected encoding */ } |