14

Yesterday I edited this question to improve code formatting.

At first there was nothing visibly wrong with the JSON however as I started editing I noticed characters at the end which were causing the problem. I edited anyway without removing those invalid characters as I thought if I marked that JSON as code those invalid characters would show up in the question for everyone to see. This was not the case. Those characters got automagically removed. I of course edited my question again and added a comment that said not to approve my edit.

I'm wondering if this is a bug on SO? (like @Amy mentioned in the comments)

How was the OP able to post the question with those invalid characters when my edit was able to removed them automagically?

7
  • 1
    I thought would get removed in this question too, but apparently not...
    – erikvimz
    Dec 16, 2017 at 10:14
  • Could someone undo the damage Hassan Imam did on that post?
    – erikvimz
    Dec 16, 2017 at 11:18
  • 1
    what a mess ... I added a screenshot ... I should have tested in the sandbox .. sorry about that.
    – rene
    Dec 16, 2017 at 11:26
  • 2
    potentially related: meta.stackoverflow.com/questions/352184/…
    – Cœur
    Dec 16, 2017 at 12:18
  • 8
    □ is U+25A1: WHITE SQUARE, a perfectly normal Unicode character, like any other. It can be encoded in UTF-8, UTF-16, and UTF-32, like any other Unicode character. Dec 16, 2017 at 19:54
  • Weird. They don't even show up at the end of the Markdown when you view the editing history.
    – jpmc26
    Dec 16, 2017 at 20:10
  • 4
    @AndreasRejbrand The actual problem characters in the original version of the post were ASCII/Unicode BEL (CTRL-G) characters. They can also be encoded in UTF-8, etc. but apparently something is deleting them automatically anyways.
    – Ross Ridge
    Dec 17, 2017 at 21:39

0

You must log in to answer this question.

Browse other questions tagged .