diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-26 10:57:03 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-26 10:57:03 -0500 |
| commit | 0e7cc8d0970c24cf24c0e3be221427981a799efb (patch) | |
| tree | 43f46aa1fb4dbe076bbdcddceef871b695d08b0a /Omni/Bild/Deps/pydantic-ai.nix | |
| parent | 7c63dca29cfe6c2e402d917efedfb426fb3b8fe6 (diff) | |
fix UTF-8 encoding in deployed services
- Systemd.hs: add LANG and LC_ALL defaults (en_US.utf8) to all
generated unit files to ensure proper UTF-8 handling
- Systemd.hs: add generateUnitWithLocale that reads LOCALE_ARCHIVE
from the deployer's environment and injects it into generated units
- Telegram.hs: add safePutText wrapper that catches encoding errors
in logging to prevent them from killing message sends
The root cause was NixOS systemd services not inheriting locale
settings from the system, causing emoji characters to fail encoding.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'Omni/Bild/Deps/pydantic-ai.nix')
0 files changed, 0 insertions, 0 deletions
