-
Notifications
You must be signed in to change notification settings - Fork 49
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
insert_license - write file back in original encoding #39
Comments
Agreed, that would be better. Have you faced a case where the wrong encoding was used on writeback? |
Yes, I was faced with that. |
Lucas-C
added a commit
that referenced
this issue
Jul 3, 2022
I submitted #44 in order to implement this |
Lucas-C
added a commit
that referenced
this issue
Jul 3, 2022
Re-using input file encoding for writeback - close #39
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In insert_license.py we can red:
But when writeing the file back, utf8 is used, so the original file encoding could be changed.
It would be better to remember the original encoding to reuse it on writeback.
The text was updated successfully, but these errors were encountered: