I'm developing a Zend application. It caches menu items to reduce database transactions. I'm looking for a way to set encoding of cached files to UTF8. In application.ini
I have:
resources.view.encoding = "UTF-8"
Though seems not working.
Update:
I can't find _initCache
function or any other code responsible of caching. Caching is only specified in application.ini
:
resources.cache.frontEnd = core
resources.cache.backEnd = file
resources.cache.frontEndOptions.lifetime = 1200
resources.cache.frontEndOptions.automatic_serialization = true
resources.cache.backEndOptions.lifetime = 3600
resources.cache.backEndOptions.cache_dir = APPLICATION_PATH "/../cache"
pluginPaths.CMS_Application_Resource = APPLICATION_PATH "/../library/CMS/Application/Resource"