# commands.log: etsy-title-character-limit, November 30, 2026 (server: Ubuntu 24.04.5 LTS, Python 3.12.3, Node v24.21.0) # Each published command as run, its exit code and the edge inputs it was also tried on. Scripts and test files sit next to this file. published: python3 etsy-listing-check.py listing.txt ran: python3 etsy-listing-check.py listing.txt exit=1 | title: 126 UTF-16 units (Word counter), 125 Python len(), limit 140: OK | note: emoji make the two counts differ; the check uses the larger, UTF-16 | tags: 13 of 13 (lengths in UTF-16 units) | 1 chunky knit beanie 18 OK | 2 hand knit wool hat 18 OK | 3 cream winter hat 16 OK | 4 slouchy toque 13 OK | 5 merino wool beanie 18 OK | 6 women’s winter hat 18 note: curly ’ is not on Etsy's list (it lists ‘ and '); untested on Etsy's form | 7 café crème hat 14 OK | 8 knitted hat gift 16 OK | 9 cozy gift for her 17 OK | 10 fisherman beanie 16 OK | 11 ski hat women 13 OK | 12 -warm cap 9 starts with '-' | 13 beanie 🧶 gift 14 character '🧶' (U+1F9F6) is not on Etsy's list | RESULT: FIX the lines marked above edge: a 139-character plain title with 11 clean tags ran: python3 etsy-listing-check.py listing-clean.txt exit=0 | title: 139 UTF-16 units (Word counter), 139 Python len(), limit 140: OK | tags: 11 of 13 (lengths in UTF-16 units) | 1 chunky knit beanie 18 OK | 2 hand knit wool hat 18 OK | 3 cream winter hat 16 OK | 4 slouchy toque 13 OK | 5 merino wool beanie 18 OK | 6 women’s winter hat 18 note: curly ’ is not on Etsy's list (it lists ‘ and '); untested on Etsy's form | 7 café crème hat 14 OK | 8 knitted hat gift 16 OK | 9 cozy gift for her 17 OK | 10 fisherman beanie 16 OK | 11 ski hat women 13 OK | RESULT: all checks pass edge: decomposed accents (NFD) and Windows line breaks; counted as typed (72, as in the Word counter), the joined count (70) printed as a note ran: python3 etsy-listing-check.py listing-crlf.txt exit=0 | title: 72 UTF-16 units (Word counter), 72 Python len(), limit 140: OK | note: accents typed as letter plus mark; joined they would be 70 UTF-16 units | tags: 11 of 13 (lengths in UTF-16 units) | 1 chunky knit beanie 18 OK | 2 hand knit wool hat 18 OK | 3 cream winter hat 16 OK | 4 slouchy toque 13 OK | 5 merino wool beanie 18 OK | 6 women’s winter hat 18 note: curly ’ is not on Etsy's list (it lists ‘ and '); untested on Etsy's form | 7 café crème hat 14 OK | 8 knitted hat gift 16 OK | 9 cozy gift for her 17 OK | 10 fisherman beanie 16 OK | 11 ski hat women 13 OK | RESULT: all checks pass edge: a 141-character title and 14 tags ran: python3 etsy-listing-check.py listing-over.txt exit=1 | title: 141 UTF-16 units (Word counter), 141 Python len(), limit 140: OVER | tags: 14, limit 13: OVER (lengths in UTF-16 units) | 1 chunky knit beanie 18 OK | 2 hand knit wool hat 18 OK | 3 cream winter hat 16 OK | 4 slouchy toque 13 OK | 5 merino wool beanie 18 OK | 6 women’s winter hat 18 note: curly ’ is not on Etsy's list (it lists ‘ and '); untested on Etsy's form | 7 café crème hat 14 OK | 8 knitted hat gift 16 OK | 9 cozy gift for her 17 OK | 10 fisherman beanie 16 OK | 11 ski hat women 13 OK | 12 -warm cap 9 starts with '-' | 13 beanie 🧶 gift 14 character '🧶' (U+1F9F6) is not on Etsy's list | 14 extra tag fourteen 18 OK | RESULT: FIX the lines marked above edge: a Cyrillic tag (not on Etsy's list) next to a Latin accented one (on it) ran: python3 etsy-listing-check.py cyrillic.txt exit=1 | title: 8 UTF-16 units (Word counter), 8 Python len(), limit 140: OK | tags: 2 of 13 (lengths in UTF-16 units) | 1 шапка 5 character 'ш' (U+0448) is not on Etsy's list | 2 naïve hat 9 OK | RESULT: FIX the lines marked above edge: a hyphen and an apostrophe at the end of a tag; Etsy only rules out the first character, so both pass ran: python3 etsy-listing-check.py trailing.txt exit=0 | title: 8 UTF-16 units (Word counter), 8 Python len(), limit 140: OK | tags: 2 of 13 (lengths in UTF-16 units) | 1 warm cap- 9 OK | 2 women's hat' 12 OK | RESULT: all checks pass edge: line 1 left blank, tags below it ran: python3 etsy-listing-check.py leadblank.txt exit=2 | stop: line 1 is empty; put the title on line 1 and one tag per line edge: an empty file ran: python3 etsy-listing-check.py empty.txt exit=2 | stop: the file is empty; put the title on line 1 and one tag per line edge: a missing file ran: python3 etsy-listing-check.py missing.txt exit=2 | stop: file not found: missing.txt edge: a file saved as Latin-1, not UTF-8 ran: python3 etsy-listing-check.py latin1.txt exit=2 | stop: the file is not UTF-8 text; save it as UTF-8 and run again