Issue Bug Closed

#15441strtoupper() broken some text in non-ascii

old_hkdennis2k 01/18/06, 11:09 updated 12/24/12, 06:58

Description

In Backend some where are using strtoupper to display a bolded title.

e.g. class.tx_cms_layout.php
function tt_content_drawColHeader($colName,$editParams,$newParams){
$out =’………….‘.htmlspecialchars(strtoupper($colName)).’………..’;
}

but, strtoupper() may destory the text since it may be multi-byte or non-ascii.

Suggestion replacement:
We don’t have to consider any function exists in the server.
Using CSS to display text in uppercase. Server should not change on the text.

e.g.
$out=’‘.htmlspecialchars($colName).’

(issue imported from #M2302)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.