[TYPO3-dev] Sorting and grouping of list - problem with rendering non-english characters (SOLVED)

Erik Svendsen erik at linnearad.no
Mon Jun 8 14:11:32 CEST 2009


Thanks Jigal!!

Erik Svendsen skrev:

>>> I fetch the list as an array ( and using
>>>
>>>     $firstletter = row[field][0];
>>>
>>> to fetch the first letter of the sentence/title and place it in a
>>> marker.

$firstletter = t3lib_cs::substr(utf8,$row['field'],0,1);

works like a charm. It even solved my list in Northern Sami.


Erik




More information about the TYPO3-dev mailing list