Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
? instance of letters
Avatar
David H
Member
Free Members
sp_UserOfflineSmall Offline
Jan 2, 2014 - 4:30 am

Im using a funny language in my forum... :)

In the drop down menus for last topic and forum selection, i see "?" sometimes before the "..."

 

In the sp-api-common-display.php you are using the function:

"substr ( )"

I changed it to:

"mb_substr($name, 0, $length,'UTF-8')"

and now it is ok.

 

Maybe you want to use it this way in the next update... if it make sense?

 

thanks

David

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 2, 2014 - 5:22 am

I would have normally expected this to happen with function overloading. What is the value in your php ini file of the 'mbstring.func_overload' setting?

andy-signature.png
YELLOW
SWORDFISH
Avatar
David H
Member
Free Members
sp_UserOfflineSmall Offline
Jan 2, 2014 - 7:59 am

I hope I understood...

in the wp streams.php

I found this:

function POMO_Reader() {
$this->is_overloaded = ((ini_get("mbstring.func_overload") & 2) != 0) && function_exists('mb_substr');
$this->_pos = 0;
}

I think this is the only place U have it. It is WP 3.7.1

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 2, 2014 - 9:09 am

Sorry but no. I was really referring to the php.ini file on your web server. If on doubt - I would ask your hosting support.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626