Actions
Bug #15270
closedBug in class.t3lib_cs.php - substr() function
Start date:
2005-12-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
I was playing with your class.t3lib_cs.php - substr() function when I've seen that ALWAYS, when using mb_substr() you force it to 'utf-8', ignoring completely the $charset parameter.
In my opinion, the line:
else return mb_substr($string,$start,$len,'utf-8');
should say:
else return mb_substr($string,$start,$len,$charset);
Hope it help, ciao :-)
Just to say that I'm a Moodle developer and we are going to use such library intensively in our migration to Unicode. Thanks for it!! B-)
(issue imported from #M2020)
Updated by Sebastian Kurfuerst almost 19 years ago
Hi masi,
it would be great if you could check this.
Thanks and Greets, Sebastian
Updated by Sebastian Kurfuerst almost 19 years ago
Hi Karsten,
it would be great if you might have a look on this issue as well.
Greets, Sebastian
Actions