claude-code
claude-code copied to clipboard
Claude Code cannot output Apple logo Unicode character (U+F8FF) in responses
Bug Description
Claude Code cannot output OR edit files containing the Apple logo character (U+F8FF).
Steps to Reproduce
- Ask Claude Code to write the Apple logo character (U+F8FF) - it won't appear in output
- Ask Claude Code to edit a line containing U+F8FF - the edit will fail with "String to replace not found"
- Claude can READ files containing U+F8FF but cannot write or edit lines containing it
Expected Behavior
Claude Code should be able to:
- Output the U+F8FF character in responses
- Edit lines in files that contain U+F8FF
Actual Behavior
- The Apple logo character is missing from output
- Edit operations fail when the search string contains U+F8FF
- User must manually remove the character before Claude can edit the line
Impact
- Confusing user experience where Claude claims capabilities it doesn't have
- Workarounds needed (users must manually remove/add the character)
- Inconsistency between what can be read vs written/edited
Environment
- macOS (where Apple logo is commonly used)
- Observed in status line customization tasks
Suggested Fix
Investigate why certain Unicode characters (particularly private use area characters like U+F8FF) are filtered or fail in both output and string matching operations.
Bug discovered and reported by Claude Code during a status line customization session