On Thu, Oct 23, 2008 at 03:52:56PM +0300, Tomas R wrote:
On Thu, 23 Oct 2008 13:43:04 +0100 Francis Daly <francis@daoine.org> wrote:
On Thu, Oct 23, 2008 at 02:34:10PM +0300, Tomas R wrote:
Hi there,
What's causing the addition of garbage symbols, like here (comments by tr (6th & 8th comment(most visible in 8th))): http://www.nezinau.lt/microsoft-lazerines-peles-sugeba-nustebinti#comments Backspace?
If you're asking "did dillo put it there previously when uploading a comment", that's something I can't answer easily -- perhaps capturing the network traffic when uploading will show whether it is in dillo's output; if so, more investigation will be needed to find why.
I am asking WHY dillo put them there. The comments containing garbage symbols were submitted by me with dillo2 and I think I used Backspace where the garbage chars are added (check the page with some full blown browser).
I've taken a local copy of the html page, modified the form so that it points to a local "echo all input" cgi script, and I do not see any extra characters added. I've pasted in some of the (accented) text from the main page; I've deleted and backspaced and added my own text within dillo; and when I press "Tinka!", I see nothing unusual in the bytes returned by my "echo" script. I presume that means there's nothing unusual in the bytes sent by dillo. Right now, I can't reproduce the problem you're reporting. Can you provide a reproduction recipe? Preferably one that can be run using a local web server, so that we won't be adding unnecessary test comments to someone's live site. The garbage characters on the page aren't all the same character. Presumably either dillo is adding in the rubbish, or is misinterpreting the bytes written in the comment, or else the receiving side is somehow breaking things. When we can see the bytes being sent by dillo, we'll know which half (sender/receiver) is broken. Good luck, f -- Francis Daly francis@daoine.org