-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Normalise file encodings in Lib/sqlite3/test/ #87013
Comments
GitHub does not play well with other file encodings than UTF-8. For example, when the "suggestion" in #20538 (comment) was applied, GitHub silently converted Lib/sqlite3/test/types.py from ISO-8859 to UTF-8, as seen in the resulting commit fd4f651. Apart from being annoying, this created an inconsistency between the I suggest to convert Lib/sqlite3/test/* to UTF-8 encoding for consistency. $ file Lib/sqlite3/test/*.py
Lib/sqlite3/test/backup.py: Python script text executable, ASCII text
Lib/sqlite3/test/dbapi.py: Python script text executable, ISO-8859 text
Lib/sqlite3/test/dump.py: Python script text executable, ASCII text
Lib/sqlite3/test/factory.py: Python script text executable, ISO-8859 text
Lib/sqlite3/test/hooks.py: Python script text executable, ISO-8859 text
Lib/sqlite3/test/regression.py: Python script text executable, ISO-8859 text
Lib/sqlite3/test/transactions.py: Python script text executable, ISO-8859 text
Lib/sqlite3/test/types.py: Python script text executable, ISO-8859 text
Lib/sqlite3/test/userfunctions.py: Python script text executable, UTF-8 Unicode text |
SGTM, the use of ISO-8859 is surely a legacy issue. |
Indeed it is. I'll create a PR as soon as #64737 is merged. |
New changeset deab1e5 by Erlend Egeberg Aasland in branch 'master': |
iso-8859-1 is still commonly used in some parts of Nordic countries, but I don't see a reason not to change it here :) Thank you, Erlend! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: