Ucs-Detect
18 days ago
- #python-tool
- #terminal-emulator
- #unicode-testing
- ucs-detect automatically tests Unicode version and support level of terminal emulators.
- Tests include Wide character, Emoji ZWJ sequences, Emoji VS-16 sequences, and Zero-Width or combining characters.
- Install via pip: `pip install -U ucs-detect`.
- Usage: `ucs-detect` for basic test, `ucs-detect --save-yaml=...` for detailed report.
- Test results for over 20 terminals are published online.
- Problem: Terminal emulators may struggle with Wide, Fullwidth, and combining characters.
- Solution: ucs-detect checks compliance with python wcwidth library specifications.
- How it works: Uses Query Cursor Position terminal sequence to test cursor movement.
- UDHR dataset provides multilingual test corpus for evaluating terminal support.
- History: Version updates include new features and bug fixes.