Monday, September 6, 2021
1 change · master
Documentation and clarification updates
New Odoo app templates replace the old Python encoding note with a licence header. This keeps generated files aligned with current Python defaults and improves consistency around licensing information without affecting day-to-day functionality.
Original PR description
Since Python 3, the default file encoding used by the interpreter is
utf-8 by default, most of our source code is ascii friendly (could
decode('ascii') 97% of our python files) and most text editors/IDE (even
the Windows notepad !) do open and save files in utf-8 by default.