[TYPO3-dev] Where to use setlocale?

Steffen Kamper info at sk-typo3.de
Thu Mar 18 10:34:04 CET 2010


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

vg Steffen




More information about the TYPO3-dev mailing list