-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
special character issues when dealing with openzepplin #2088
special character issues when dealing with openzepplin #2088
Comments
I had noticed that |
@fubuloubu Actually, these utf-8 characters are seen across multiple files. i have tried to remove them but it was proven impractical. however, Ape was able to handle them about a month ago. |
sorry - accidentally closed |
I can reproduce this problem by doing: path.write_text("“", encoding="latin-1") so that is why specifying the encoding as utf8 everywhere fixes the problem. also - this is no longer a problem in this specific use-case anyway because we are using shutil.copytree() now as of #2123 so this issue will be closed in every way once the 2 attached PRs merge. |
Environment information
ape
and plugin versions:ape-config.yaml
(NOTE: do not post anything private like RPC urls or secrets!):What went wrong?
I tried using solidity v0.8.23 and v0.8.25, and openzepplin v5.0.1 and v5.0.2, i keep getting the special character issues. when I removed everything the needs openzepplin, it got no problems.
Please include information like:
what command you ran
$ ape compile
the code that caused the failure and the full output of the error received:
after compiling all my own contracts and interfaces I obtained from dexes' websites, as soon as it starts working on openzepplin dependencies, this error occurs:
How can it be fixed?
Sorry. I have no idea.
The text was updated successfully, but these errors were encountered: