What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

I recently wanted to see if the comment lengths applied to the comment pre- or post-expansion (it applies pre-expansion). I found though that my input [so][so][so]...[so] expanded oddly:

Stack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack OverflowStack Overflow[‌​so]Stack OverflowStack OverflowStack OverflowStack OverflowStack ...

The odd portion is the [so] that remains in the comment text; if I paste this content into vim, the [so] portions are downright strange:

[<200c><200b>so]
[s<200c><200b>o]
[<200c><200b>so]
[s<200c><200b>o]
[<200c><200b>so]
[s<200c><200b>o]
[<200c><200b>so]

This feels like a bug, but I can't imagine that fixing it is a priority for anyone, certainly not myself.

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Those symbols are 'ZERO WIDTH NON-JOINER' (U+200C) and 'ZERO WIDTH SPACE' (U+200B).

I'm sure they are added on purpose, to break long lines. They are added after 81 or 82 characters if there is no whitespace. This is also the amount of characters used in your pre-expansion [so][so][so]...[so] code until the first occurrence of those characters.

Insertion of those characters after doing expansions would probably fix this. Not sure if fixing this would be worth the time, as a comment containing such long sequences of tags is probably nonsense or spam anyway.

share|improve this answer
    
Excellent, thanks for the explanation. –  sarnold Dec 31 '11 at 23:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .