apache - CakePHP 3.x character encoding won't use utf-8 -


my mb_internal_encoding(); output remains iso-8859-1 when utf-8 set multiple times. makes no sense. in cakephp 3.x got this:

    'app' => [     'namespace' => 'app',     'encoding' => 'utf-8',     'base' => false,     'dir' => 'src',     'webroot' => 'webroot',     'wwwroot' => www_root,     // 'baseurl' => env('script_name'),     'fullbaseurl' => false,     'imagebaseurl' => 'img/',     'cssbaseurl' => 'css/',     'jsbaseurl' => 'js/',     'paths' => [         'plugins' => [root . ds . 'plugins' . ds],         'templates' => [app . 'template' . ds],         'locales' => [app . 'locale' . ds],     ], ], 

on server (debian wheezy) apache2.conf file says:

adddefaultcharset utf-8 

my html file has meta tag:

<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 

even when place in bootstrap

header('content-type: text/html; charset=utf-8'); 

my mb_internal_encoding(); output remains iso-8859-1

what can more make output utf-8?


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -