On Thu, 23 Oct 2008 14:43:09 +0000 "corvid" <corvid@lavabit.com> wrote:
Tomas wrote:
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?
Looks like it.
I pasted a random chunk of text ending in a non-ASCII character into a textarea with a form submitting as UTF-8. "mink?" became "mink%C5%A1" in the submitted data, which I believe is right. Then I pressed backspace in the textarea, leaving "mink", and submitted again. Now it submits "mink%A1", which is wrong. Input type=text doesn't seem to have the problem. Probably something wrong in fltk's TextEditor, then. I'll see if I can find where it's missing some utf8-awareness.
Hey you were quick to figure that out :) -- Brain: an apparatus with which we think we think. - A. Bierce