Task #76804
closed
- Parent task set to #67261
- Category set to Code Cleanup
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Post-Review:
How should that work with locale tr_TR? There is no upper-case "i" in that locale. Thats the main reason we introduced GeneralUtility::strtoupper in the first place, to make sure it works regardless of locale on all ASCII chars.
Just try that out:
<?php
setlocale(LC_CTYPE, 'tr_TR.utf8');
echo strtoupper('abcdi') . "\n";
The locale can be set in TypoScript by the user (config.locale_all). This broke many turkish sites back then (I think it was introduced with PHP 5.3). This still works like that in PHP 7 (at least under Linux - not on Mac!).
Maybe I am missing something?
- Target version set to Candidate for Major Version
- Status changed from Resolved to Closed
Also available in: Atom
PDF