Errorsummary With Utf-8 Translation File Caused Missing Header!?

I have a multi language view page with CActiveForm and when there is input error after submit the page will not display properly if the language is in Chinese which the translation file is save in utf-8 format. All other language’s translation files saved in ANSI format will display correctly.

I have a look at the page source with firebug and noticed the problematic page is missing the proper html header.

Below is the problematic page header




<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head></head>



And this is the correct page header




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>

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

<meta content="en" name="language">



Bug? Any idea how to fix this?

Bump, anyone could shed some light here…