31 jan 2007 kl. 10.49 skrev Dimitur Kirov: Hi Dimitur,
Thanks a lot for finding this and proposing a solution. I added an issue about it and marked it to be fixed in 1.2.1.
Best Regards, Mikael Hallendal
Loudmouth uses GMarkup functions to create xml stanzas. This does not guarantee that stanzas will contain only valid xml characters as in [1]. Chars from SG group are safe, because they miss a visual representation and it is simply impossible to pass such char from GUI. However control chars are problematic and if you send one of them, you will get disconnected from server. To reproduce a disconnect with gossip: * compose a message with bad control char, like U+000C (FORM FEED) <CTRL><SHIFT>+u+C is a shortcut. , or just paste some text that contains bad char * send the message You will be disconnected without any warning or explanation. Apparently, the same functions are used in gossip for producing .logs files and once you've sent a bad message you miss the logs for that day. Easy workaround is to use custom utility function in front of g_markup_* one, that will purge all invalid chars (0x0 - 0x8) | 0xC | 0xB | (0xE - 0x1F) -- [1] http://www.w3.org/TR/REC-xml/#charsets
-- Imendio AB, http://www.imendio.com
