-
Notifications
You must be signed in to change notification settings - Fork 27
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
IncludesPass
and CommentsPass
have issues with files using "non-standard" encodings
#59
Comments
Well, it's technically a bug, but I don't see why would somebody use a non-utf8 encoding for files? |
The tool my company builds (and one of the reasons I use Our customers 100% have code that isn't utf8/ascii (the above comes from a support case I was helping with). I think that adding something like:
(code I wrote) would make Would you be happy if I made some utility function like
could then use Thoughts? Alternatively maybe |
Thank you for your ideas. So you're using a Python package |
How about if
We could actually do all three of these; without 2 or 3, 1 happens. If you have 2, then 3 is redundant. If you have 3, 2 is redundant (and it won't run things like IncludesPass). Thoughts? |
Well, I like doing 2) using |
@andrewvaughanj I've just implemented the first version, can you please take a look? |
I can try this next week; should |
Well, the conversion does happen before the normal sanity check. |
Any update about the testing, please? |
PING :) |
Any news about this @andrewvaughanj ? |
For:
running
cvise --start-with-pass IncludesPass
gives:(this was after editing
cvise/utils/testing.py
to setGIVEUP_CONSTANT
to 1)and creates:
and
The text was updated successfully, but these errors were encountered: