about Loading Content with AJAX

If tabbar hrefmode set to “ajax-html”, My html file at server includes chinese, so tabbar’s content from ajax-html is incorrect.

how can i control the charset,for example gb2312,utf8 ,and so on

thank you!

In case of loading as ajax-html - the loaded content will be just inserted inside current page, so encoding of the master page will be applied to loaded content. Basically its expected that encoding of master page and content loaded by ajax are the same.

If you need to store data in different encodings, you can try “ajax” loading mode, it loads data from XML , which allow to clearly specify encoding by using
<?xml version="1.0" encoding="some" ?>