Problem/Motivation
Deprecated Unicode::substr() need to be replaced
Proposed resolution
Use mb_substr()
Change records: https://www.drupal.org/node/2850048
Deprecated Unicode::substr() need to be replaced
Use mb_substr()
Change records: https://www.drupal.org/node/2850048
Comments
Comment #2
thallesFollow the patch!
Comment #4
thallesFollow the patch!
Comment #6
thallesFollow the patch!
Comment #7
dave reidThis is a duplicate of #3034169: Deprecated strtolower need to be replaced
Comment #8
dave reidMy apologies, this is about substr not strtolower, re-opening.
Comment #9
dave reidThis can actually just be replaced by a much simpler substr(), I'm not sure why it needed to use the unicode functions. This also cleans up a couple more deprecated things in the same classes.
Comment #10
dave reidWith some cleaned up use statements as well.
Comment #12
dave reidCommitted #10 to 8.x-1.x.
Comment #13
thallesThanks Dave!