Support Forum
When trying to add a multibyte string as display name, the result is an empty string written to display_name in the member-table.
This might have something to do with the server setup, but that is not possible to change.
The function sp_filter_save_nocontrolchars() in sp-api-filters.php contains the non-multibyte function substr(). Can you please change it to mb_substr() (if it exists)?
Thanks!
As with the other I have opened a ticket for discussion.
Not sure about the need to check for the function to exist though. As far as I am aware it is now a part of the 5 core libraries... I think that happened with 4.0.6, Let me know if you know different please.
YELLOW
SWORDFISH
|
I'm not sure, but the PHP manual says:
"mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option.", http://php.net/manual/en/mbstr.....lation.php
It is also possible to disable the extension, so it's maybe better to be safe than sorry?
1 Guest(s)