brysontyrrell / brysontyrrell/Patch-Starter-Script
Add support for UTF-8
- Dominant language
- Python
- Stars
- 47
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Some applications, like Übersicht use extended characters, causing an exception in patchstarter.py:
```
ecrist@mac:~/Patch-Starter-Script-> python patchstarter.py -o . /Applications/Übersicht.app
Traceback (most recent call last):
File "patchstarter.py", line 263, in
main()
File "patchstarter.py", line 102, in main
filename = '{}.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 in patchstarter.py at line 102, where the application identifier is formatted into a JSON filename, and trace how the application path is decoded and used. Reproduce the command with an application path containing extended characters, then verify that patchstarter.py completes and creates the expected patch definition without a UnicodeEncodeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100