News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

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
  •