published: python3 linkedin-post-check.py my-post.txt (reader command; my-post.txt here is a copy of the plain test draft) exit=0 edge: an empty file exit=2 edge: a file of blank lines and spaces exit=2 edge: a missing file exit=2 edge: a file saved as Latin-1, not UTF-8 exit=2 edge: the letter a 3,000 times plus one final line break (ignored, as an editor adds it on save: fits, 0 left) exit=0 edge: the letter a 3,000 times plus two final line breaks (the second counts: over by 1) exit=1 published: python3 linkedin-post-check.py draft-near-limit.txt (our test run, output printed on the page) exit=1 edge: control, the letter a 3,000 times (known answer: fits, 0 left) exit=0 edge: control, the letter a 3,001 times (known answer: over by 1) exit=1 edge: the list post with blank lines (LF) exit=0 edge: the same list post saved with Windows CRLF line breaks; counted as LF, as a browser text box does exit=0 edge: emoji bullets (check mark 1 unit, pointing hand and rocket 2) exit=0 edge: skin-tone wave, a flag and a joined (ZWJ) emoji exit=0 edge: Unicode bold letters in the hook exit=0 edge: a long link with tracking parameters exit=0 edge: output to a console or file that is not UTF-8 (cp1252, as on Windows); the emoji prints as ? exit=1 published: python3 linkedin-post-check.py my-comment.txt --limit 1250 (reader command; my-comment.txt here is a copy of the comment test draft) exit=0 edge: the comment test draft itself, --limit 1250 exit=0 edge: --limit=1250 written with an equals sign (same as --limit 1250) exit=0 edge: --limit with no number exit=2 edge: --limit 0 (rejected, a limit must be above 0) exit=2 edge: --limit -5 (rejected) exit=2 # evidence for numbers in the answer/takeaways (added 2026-12-01) bold-unicode draft: 34 math-bold letters (U+1D400-1D7FF) in the hook, counted by a python walk over inputs.json; 114 code points, 148 UTF-16 units word-counter screenshot (word-counter.webp) of draft-near-limit.txt: 499 words, 3009 characters (2509 without spaces) 220 (headline) and 2,600 (About): third-party numbers, see src/contentin_io_glossary_character_limit_.txt and src/contentin_io_footnote_links.txt; LinkedIn pages they cite state no number