Updating L10n to write to App.encoding. Removing Configure::write('charset') from core. Fixes #3937

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8058 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2009-02-25 03:47:09 +00:00
parent 2a139b171c
commit 5ded592c1e

View file

@ -381,7 +381,7 @@ class L10n extends Object {
if (Configure::read('Config.language') === null) { if (Configure::read('Config.language') === null) {
Configure::write('Config.language', $this->lang); Configure::write('Config.language', $this->lang);
} }
Configure::write('charset', $this->charset); Configure::write('App.encoding', $this->charset);
if ($language) { if ($language) {
return $language; return $language;