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

utf-8 strings need to be encoded to work from cron #156

Merged
merged 2 commits into from
Sep 17, 2017
Merged

utf-8 strings need to be encoded to work from cron #156

merged 2 commits into from
Sep 17, 2017

Conversation

mmolhoek
Copy link
Contributor

Wanted to call the papirus-temp from cron, but nothing happened.
so, ran bash like cron with: env -i /bin/bash --noprofile --norc
to see what happens when running papirus-temp.
got: UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 30: ordinal not in range(128)
aha, cron talks ascii 😄

@tvoverbeek
Copy link
Contributor

Since everywhere the encoding is written as 'utf-8', could you change 'utf8' to 'utf-8'?
I know 'utf8' works, but we should use the common 'utf-8' spelling.
Al vast bedankt.

@mmolhoek
Copy link
Contributor Author

mmolhoek commented Sep 17, 2017

changed it.

@tvoverbeek tvoverbeek merged commit 1a0ea2d into PiSupply:master Sep 17, 2017
@tvoverbeek
Copy link
Contributor

Merged.

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

Successfully merging this pull request may close these issues.

2 participants