Files
wedding-phone/rotary_phone_web.py
grabowski 066abee508 Fix JavaScript syntax error with UTF-8 encoding
Fixed template generation to explicitly use UTF-8 encoding when writing
the HTML template file. This resolves JavaScript syntax errors caused by
emoji characters (⚠️, 🔌, 🔄) in the shutdown/restart confirmation dialogs.

Changes:
- Added encoding='utf-8' parameter to template file write operation
- Updated template version to 1.9.1 to force regeneration
- Ensures all special characters render correctly in browser

Fixes error: "Uncaught SyntaxError: Invalid or unexpected token"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 17:35:52 +07:00

102 KiB