[TYPO3-dev] Where to use setlocale?

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Mar 18 11:14:51 CET 2010


Steffen Kamper schrieb am 18.03.2010 10:34:
> Ernesto Baschny [cron IT] schrieb:
> 
>>>>
>>> see http://www.sk-typo3.de/locale_all.310.0.html
>>
>> I guess you didn't understand Jigals request. He want to setlocale() in
>> the backend, so that escapeshellarg() does not get garbled. He wants an
>> idea where he could add it (typo3/config_default, init.php, ...).
>>
>> I guess minimal disruption would be to set it around the code that needs
>> it (around the escapeshellarg()). And this only if UTF8filesystem
>> setting is present.
>>
> 
> hm - i understood he wants to know which locale are in the system.
> Setting locale_all in TS does it in php, see tslib_fe::settingLocale

Steffen, please read the bug report and the proposed solution to know
what it is about, so you don't have to guess. :)

Cheers,
Ernesto




More information about the TYPO3-dev mailing list