Add option to disable emojis in code generation
Resolved 💬 11 comments Opened Sep 14, 2025 by famosoyuhei Closed Feb 27, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Feature Request: Emoji-free Code Generation Option
### Problem
When generating Python code, Claude Code frequently includes emoji characters in:
- print statements
- comments
- string literals
This causes UnicodeEncodeError on Windows systems using cp1252 encoding:
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f393'
in position 0: character maps to
Proposed Solution
Add a setting/option to disable emoji usage in all code generation, ensuring:
- Clean, professional code output
- Windows compatibility
- No encoding issues
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
Professional development environments where:
- Code needs to run on various systems
- Emoji-free output is preferred
- Encoding compatibility is critical
Thank you for considering this feature request!
Additional Context
_No response_
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗