I get a Body cannot contain "" error when trying to post this question on SE. How can I resolve it?

What is the best way to unpack SequenceMatcher loop results in Python so that values can be easily accessed and processed?

from difflib import *

orig =

commented =

diff = SequenceMatcher(None, orig, commented) 

The current iteration code stores match results in a list like this:

match_id [Match(a=0, b=0, size=26), Match(a=26, b=108, size=6),
Match(a=32, b=146, size=15), Match(a=47, b=273, size=30), Match(a=78,
b=330, size=12), Match(a=90, b=372, size=0)] 

I'd eventually like to mark out the comments like so:


Which means, I am interested in unpacking the above SequenceMatcher results and do some calculations on specific b and size` values to yield this sequence:

rslt = [[0+26,108][108+6,146][146+15,273][273+30,330][330+12,372]]
  • 2
    Chinese characters are blocked on most sites due to spam.
    – Laurel
    Commented Dec 20, 2019 at 3:17
  • 9
    This is a great inconvenience for users working with CJK data. Is anyone working on fine-tuning the spam filter to allow legitimate posts containing Chinese characters?
    – Sati
    Commented Dec 20, 2019 at 5:24

2 Answers 2


Chinese characters are blocked in posts network-wide, with the exception of a few sites (including this one), because of persistent spam posts that use them.

The error message is intentionally kept nondescript to prevent spammers from catching on to the real cause why their posts are being blocked.

tl;dr: spammers prevent us from having nice things...

  • 1
    Any workaround for this? I need to use the actual data as a sample.
    – Sati
    Commented Dec 20, 2019 at 3:25
  • 2
    @Sati Supposedly there's a workaround: making the first line of the post shorter than 10 characters may allow you to evade it, though it may have been plugged since. If that doesn't work, replacing the characters with HTML entities might also work. Commented Dec 20, 2019 at 3:30
  • 2
    I use a simplified string of integers to represent the original Chinese characters.
    – Sati
    Commented Dec 20, 2019 at 4:49
  • @Sati orig = base64.b64decode("6Zmz5Luy6IiJ6KiA54K65aOr5YmH").decode("utf8");
    – hanshenrik
    Commented Jul 17, 2023 at 12:02

As a workaround you can still provide the original message, but in base64 encoding and instruct readers on how to decode it, like using Notepad++ plugin MIME tools. This will prevent the original text from being immediately visible though, so any search engine queries would fail to find it probably.

You must log in to answer this question.

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