Skip to content

Add support for UTF-8 #9

@ecrist

Description

@ecrist

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 <module>
    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)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions