PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
346 stars 88 forks source link

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

Closed mmolhoek closed 6 years ago

mmolhoek commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

changed it.

tvoverbeek commented 6 years ago

Merged.