News:

Dear jDownloads users, There is currently no Joomla 6 compatible version available. However, we are working on it and hope to release it shortly.

Main Menu
Support-Forum

Substr function issue[solved]

Started by romagromov, 04.03.2015 12:27:48

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romagromov

Hi!
I add descriptions in Top Module:
strip_tags(substr($files[$i]->description, 0, 250))

But in the place where the text is cut off is displayed symbol �

I think it is problem of UTF-8, but no ideas how to fix it...

Best free windows software for your PC at bestwinsoft.com
  •  

romagromov

#1
Fixed.
Need to use mb_ substr instead substr.
Best free windows software for your PC at bestwinsoft.com
  •