Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode in Application Names #38

Open
ecrist opened this issue Apr 28, 2021 · 1 comment
Open

Unicode in Application Names #38

ecrist opened this issue Apr 28, 2021 · 1 comment

Comments

@ecrist
Copy link

ecrist commented Apr 28, 2021

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 <module>
    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)
@ecrist
Copy link
Author

ecrist commented Jul 9, 2021

👉🏻

Poke?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant