I'm using Python 3.x on windows.
Should I use the # -*- coding: utf-8 -*-
declaration on my files?
I have read many topics and I think the answer is no but i'm not sure.
Btw i'm writing only in english and italian. Maybe you have to know something else but i don't know what... so ask me
Thank you
PEP 3120 defines UTF-8 as the default source encoding for Python 3.x. If you save the file as that encoding (or as ASCII, of course) then no encoding declaration is required.
The What's New In Python 3.0 document declares its implementation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With