-
Notifications
You must be signed in to change notification settings - Fork 222
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
UnicodeEncodeError #142
Comments
Could you send the link to [email protected]? |
Works okay when applying that to |
The app you sent me disassembles fine on my system, although that's not surprising, since this appears to be a system specific unicode issue. I'll have to trust that your patch works without testing it. |
Again, tried latest release from here, issue still here and unicode only fix above still works. Am I forced to fix this for myself every time u will update Krakatau? Windows 10 Or if I can change python default encoding to utf 8, how to change it? |
I do have an old Windows computer, so I'll test it on that and see if I can reproduce the issue. |
Sorry I forgot about this. I'll try to get to it over the weekend. |
Opened pull request in case you will succesfully reproduce that issue. |
Sorry, it will take more time than I expected. But I'll try to get to it as soon as I can. |
I haven't been able to reproduce the issue, so I'm just going to have to trust that your PR is correct. Did you make sure to test it on Python 2 as well? |
Hmm, works well on python 2.7.15. |
Year 2023 (almost 2024), the bug is still there so I'm unable to use Krakatau (through bytecode-viewer ) with the latest python, are you gonna stay on python 2.7 forever and make everyone use it? what's with the rust version? is it out yet? can I put it into |
rust version only has (dis)assembly so far. |
Sorry for the late response, I was on vacation. Anyway, as Janmm14 mentioned, the Rust version only supports the assembler and disassembler, but so does Python 3. The decompiler is 2.7-only. Therefore, if you have any problems with Python 3, that means you are just using the assembler and disassembler, in which case there is no reason not to upgrade to the Rust version. I strongly recommend switching bytecode-viewer to use the new Rust version, since it is much faster and has more features than the Python version. |
I filed Konloch/bytecode-viewer#477 to ask bytecode-viewer to upgrade. |
Downloaded stage after latest commit, without my fixes of unicode later. So one more sample:
As I understand, my os using cp1251 encoding, and Krakatau can't handle it.
I can give you jar but give me link to pm you.
The text was updated successfully, but these errors were encountered: