-
-
Notifications
You must be signed in to change notification settings - Fork 136
mb_strlen #151
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestimplemented / fixedon devimplemented on devimplemented on dev
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestimplemented / fixedon devimplemented on devimplemented on dev
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;
Just wanted to share this if someone else also runs into this problem.
Thanks for this cool software!