Zen Mojo - JQuery Mobile Define Charset

I am trying to define the charset for a JQM Application and it is not working. I have tried the following options without success:

Method %OnDrawHTMLMeta() As %Status
{
              Write "<meta name=""viewport"" content=""width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no""/>"
              Write "<meta http-equiv=Content-Type content=text/html; charset=utf-8 />"
              Quit $$$OK
}
Method %OnDrawHTMLMeta() As %Status
{
              Write "<meta name=""viewport"" content=""width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no""/>"
              Write "<meta charset=utf-8 />"
              Quit $$$OK
}

Can you help me please?

Thanks.

Comments

 

I managed to make it work. The problem was related to the generated javascript file during compile time that has been saved as ANSI. I just changed the encoding to UTF-8 through Notepad->Save As and it worked fine.