[Tutor] python3 - °F/°C printing those degree signs

Steven D'Aprano steve at pearwood.info
Wed Aug 8 10:20:44 EDT 2018


On Tue, Aug 07, 2018 at 08:43:53PM -0700, Evuraan wrote:
> >
> > You could try setting
> >
> > PYTHONIOENCODING="UTF-8"
> >
> > in your OS shell and see if that helps, but I suspect
> > there's a better way to deal with it...
> >
> 
> Thank you! That was it!

What system are you using that doesn't already have UTF-8 as the default 
encoding?


-- 
Steve


More information about the Tutor mailing list