You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Risk-control compiler relies on locale encoding for UTF-8 definitions and output #84
The risk-control compiler reads locked UTF-8 Markdown/JSON and writes multilingual JSON using the process's default text encoding.
With UTF-8 mode and locale coercion disabled under a US-ASCII locale, parse_sections() raises UnicodeDecodeError on Chinese rules. The final ensure_ascii=False write can likewise fail or emit bytes inconsistent with consumers that explicitly read UTF-8.
Expected: explicitly use UTF-8 for definition reads and compiled dataset writes. Add a non-UTF-8-locale subprocess control with UTF-8 mode disabled, covering both compilation and a UTF-8 consumer roundtrip.
Activity