P1sec / hermes-dec

A reverse engineering tool for decompiling and disassembling the React Native Hermes bytecode
GNU Affero General Public License v3.0
512 stars 52 forks source link

character maps to <undefined> error on version 84 #1

Closed Numenorean closed 1 year ago

Numenorean commented 1 year ago

The full error message is UnicodeEncodeError: 'charmap' codec can't encode character '\u2502' in position 68: character maps to <undefined> which happens while printing instructions. As from the readme, you tested on the same version and it seems you have it worked. Any suggestions?

p1-mmr commented 1 year ago

Hello,

Can your please share your sample Hermes .bundle file on this issue, or at image if you wish to keep it private?

Thank you!

p1-mmr commented 1 year ago

Additionally, can you please specify which operating system version, terminal/command prompt and Python version you are using, and copy the full traceback associated with the error? (This error seems to be chiefly related with Windows-based environments)

Thank you

Numenorean commented 1 year ago

I'm sorry for taking that long to respond. I forgot to write the solution to the issue. I have solved the same way as you did, thanks