Skip to content
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

base/database: re-implemented get.string() in order to handle all the available string types properly #21

Merged
merged 1 commit into from
Nov 15, 2018

Conversation

arizvisa
Copy link
Owner

Used idaapi.get_str_type_code() and extracted the different components of a string in order to properly construct a unicode string. This avoids IDA's method (I'd call it a hack) of encoding mbcs strings as UTF-8 and decoding UTF-8 in the console. This way a user doesn't have to utf-8 decode their string in order to convert it back to the original bytes that were pulled from the database.

This closes issue #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant