[Solved] how to remove this char “�” from string output [closed]

[ad_1]

Use a substring function that doesn’t assume 1 byte = 1 character. Unicode has been around long enough that everything should be prepared for it.

mb_substr

3

[ad_2]

solved how to remove this char “�” from string output [closed]