mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-08-03 00:37:21 -04:00
Cyrillic/Greek characters that look like ASCII letters keep landing in the tree from pasted contributions (discussions #4993, #4678, PR #4678), breaking lookups and getting corrupted by reverse proxies. utils/check-homoglyphs.py scans the git-tracked source for characters in the Cyrillic (U+0400-U+04FF) and Greek (U+0370-U+03FF) blocks and exits non-zero on any hit, excluding translations (web/lang/) and vendored/minified assets where they are legitimate. A CI Homoglyphs workflow runs it on push and pull request, and it can be run locally with python3 utils/check-homoglyphs.py. refs https://github.com/ZoneMinder/zoneminder/discussions/4993 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KQipwf632JGgNH4W7p8cqs