close
Skip to content

mb_strlen #151

@Sephral

Description

@Sephral

Hello,
I had issues in my installation, because the mb_strlen function was not available by default.
I replaced line 991 of PerliteParsedown.php like follows:

#$shortage = 4 - mb_strlen($line, 'utf-8') % 4;
$shortage = 4 - strlen(utf8_decode($input)) % 4;

Image

Just wanted to share this if someone else also runs into this problem.

Thanks for this cool software!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions