Johannes Utzig

Results 33 comments of Johannes Utzig

I added some unit tests for this, but they all turned green. I am currently suspecting that this somehow breaks when converting to HTML or when receiving the HTML submit...

If it is unicode mode then it is the desired behaviour that unicode escapes are replaced with the actual unicode character, so that at least is not a bug. But...

I cannot reproduce the issue. I tried pasting a 'u00A0' character into the text are and it saves and loads correctly (verified with a hex editor). Possibly the browser has...

> So the escaping works correctly but maybe we shouldn't replace \u0020, \u00A0 and \u0009 in order for the user to have any chance to see these if added on...

> The text area seems to show the wrong content after loading. The above mentioned text does not use a   entity (or sth. similar). I wouldn't necessarily go after what's...

Well, in unicode mode escape sequences are not valid. If you need to work with escape sequences then you should use standard java properties (iso encoded). So to get this...

> One question remains: Why don't I see a nbsp entity in HTML source code, if such a value is loaded? And how is the nbsp kept, if I edit...

> My question regarding ISO mode would be, why do we escape a tab or non-breaking space, but not a normal whitespace? If I add a UnitTest with "test \...

I do not want a mix of encoded/decoded characters in the parsed result. The parsed result should be the same unicode as the translated program will see and that is...

> For me as a non-expert it is still unclear, how the nbsp is kept when I edit another character of the respective key - given the fact the character,...