Skip to content

Determine source of non-ASCII characters from bin_to_str() #7

@sneurlax

Description

@sneurlax

bin_to_str() currently* outputs errant non-ASCII characters, eg. '�'. I am successfully stripping them via preg_replace('/[[:^print:]]/', '', join($res));, but this feels hacky to me--we shouldn't be encountering non-ASCII characters at all. Perhaps it's an off-by-one error in the for loop parameters?

*Under certain circumstances (like with input string 0123456789ABCDEF)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions