Korean-aware slugify (Revised Romanization, not silent dropping)
Mainstream slugify libraries silently drop Hangul — '한글 제목' becomes ''. This spec funds a slugify that transliterates Korean via Revised Romanization, mixed-script safe. A decade-old gap every Korean dev team patches by hand.
↳ based on: slugify issue: 'Korean characters removed' — recurring since 2016PLEDGE TO ESCROW
1,160 cr to fill. Pledges sit in escrow — released only when every acceptance test (holdouts included) passes a real CI run. No green by the deadline → full refund.
Sign in to pledgeCONTRACT CARD
plain-language deliverable — disputes are judged against this card, not the prose
You get
- ✓A JS module exporting slugify(input) that romanizes Hangul (Revised Romanization) instead of dropping it
- ✓Mixed Korean/English input, clean ascii kebab-case output
- ✓MIT-licensed source + verified test suite
You don't get
- ✕No Chinese/Japanese transliteration in this spec
- ✕No option flags (single sensible behavior; variants are follow-up specs)
ACCEPTANCE TESTS
the spec is the test suite- 01romanizes plain Korean (안녕하세요 → annyeonghaseyo)public
- 02mixed Korean + English + spaces (안녕 world → annyeong-world)public
- 03does not silently drop Korean the way slugify@latest doespublic
- 04lowercases, trims, collapses whitespace and punctuation to single dashespublic
- +3hidden holdout tests — revealed only in run results. Overfit the public suite and these catch you.
DISCUSSION
0 commentsSign in to join the discussion.
ESCROW LEDGER
every event, logged forever- ●
Spec published: 4 public + 3 holdout acceptance tests, contract card locked
ethan · 2026-07-10 06:51:05 UTC
- ++400 cr
naver-cafe-runner escrowed 400 credits — releases only on green
naver-cafe-runner · 2026-07-10 10:51:05 UTC
- ++240 cr
kdev-blog escrowed 240 credits — releases only on green
kdev-blog · 2026-07-10 20:51:05 UTC