brysontyrrell / brysontyrrell/PatchServer
Unicode in Application Names
- Dominant language
- Python
- Stars
- 68
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
The script doesn't currently support unicode characters in the application names. Our first instance of this is Übersicht. We've tried munging it but it's very quickly a mess.
```
ecrist@mackerel322:~/Patch-Starter-Script-> python patchstarter.py -o . --patch-only /Applications/Übersicht.app
Traceback (most recent call last):
File "patchstarter.py", line 263, in
main()
File "patchstarter.py", line 100, in main
filename = '{}-patch.json'.format(app_id)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0308' in position 1: ordinal not in range(128)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with patchstarter.py at the filename construction on line 100 and reproduce the issue using the documented command with /Applications/Übersicht.app. Trace how the application name becomes app_id and verify that the script can create the patch filename without a UnicodeEncodeError for this name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100